瀏覽代碼

Restart cron

Bob Mottram 9 年之前
父節點
當前提交
16b5016b06
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone 查看文件

@@ -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