Parcourir la source

reload cron after install

master
Robin Thoni il y a 10 ans
Parent
révision
ab9e480596
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      install

+ 1
- 0
install Voir le fichier

4
 cp git-backup.conf /etc
4
 cp git-backup.conf /etc
5
 sed -i '/git-backup/c\' /etc/crontab
5
 sed -i '/git-backup/c\' /etc/crontab
6
 echo "00 2    * * *   root    git-backup > /dev/null" >> /etc/crontab
6
 echo "00 2    * * *   root    git-backup > /dev/null" >> /etc/crontab
7
+service cron reload
7
 
8
 
8
 git-backup --init
9
 git-backup --init

Chargement…
Annuler
Enregistrer