Browse Source

Restart cron

Bob Mottram 9 years ago
parent
commit
16b5016b06
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone View File

@@ -6281,6 +6281,7 @@ function install_syncthing {
6281 6281
 
6282 6282
     if ! grep -q "syncthing" /etc/crontab; then
6283 6283
         echo "*/1            * *   *   *   root /usr/local/bin/freedombone-syncthing > /dev/null" >> /etc/crontab
6284
+        systemctl restart cron
6284 6285
     fi
6285 6286
     
6286 6287
     echo 'install_syncthing' >> $COMPLETION_FILE