Reload crond on Synology DSM after installing crontab entries
This commit is contained in:
parent
6baf317f41
commit
1c2933e48c
|
@ -85,6 +85,7 @@ if [[ $MODE == "install" ]]; then
|
|||
if ! grep -q "/usr/sbin/rs-rotate-cron" /etc/crontab; then
|
||||
if [[ "$DISTRIBUTION" == "Synology" ]]; then
|
||||
cat ./server/etc/crontab_synology >> /etc/crontab
|
||||
synoservicectl --reload crond
|
||||
else
|
||||
cat ./server/etc/crontab >> /etc/crontab
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue