systemd/vcs-backup-clone.service
author František Kučera <franta-hg@frantovo.cz>
Sat, 20 Apr 2019 20:20:32 +0200
branchv_0
changeset 8 2c10a7d30ffd
parent 5 5e5d4c937739
permissions -rw-r--r--
git clone --mirror
(to apply changes force-pushed to the remote)
     1 [Unit]
     2 Description = VCS Backup: clone
     3 After = network.target
     4 
     5 [Service]
     6 User=vcs-backup
     7 ExecStart = /usr/local/bin/vcs-backup.sh serverStartCloneService
     8 
     9 [Install]
    10 WantedBy = multi-user.target