소스 검색

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