From 1c2933e48c171751c32a41d638e6af9ebf81cdd0 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Wed, 8 Oct 2014 01:31:39 +0200 Subject: [PATCH] Reload crond on Synology DSM after installing crontab entries --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 261a6ce..812668c 100755 --- a/install.sh +++ b/install.sh @@ -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