Kaynağa Gözat

reload cron after install

master
Robin Thoni 10 yıl önce
ebeveyn
işleme
ab9e480596
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1
    0
      install

+ 1
- 0
install Dosyayı Görüntüle

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…
İptal
Kaydet