Bob Mottram пре 9 година
родитељ
комит
16b5016b06
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone Прегледај датотеку

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