Browse Source

reload cron after install

master
Robin Thoni 8 years ago
parent
commit
ab9e480596
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      install

+ 1
- 0
install View File

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

Loading…
Cancel
Save