mgutt Posted August 15, 2021 Share Posted August 15, 2021 Sometimes my server does not restart or shutdown and after a while I found out that still running backup scripts caused this issue. Because of that I created the "stop" file which is automatically executed by Unraid: touch /boot/config/stop and pasted the following content: #!/bin/bash # ------------------------------------------------- # Kill all processes which prevent shutdown # ------------------------------------------------- while [ $(pkill -xc rsync) != "0" ]; do logger -t stop "rsync killed"; sleep 2; done while [ $(pkill -xc rcloneorig) != "0" ]; do logger -t stop "rclone killed"; sleep 2; done I use the Config File Editor Plugin to edit files: Quote Link to comment
iEusKid Posted December 17, 2023 Share Posted December 17, 2023 thank you so much!! mounting rclone prevents me from doing proper restart, but with this, problem solved. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.