Bob Mottram 9 лет назад
Родитель
Сommit
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