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)
franta-hg@1
     1
[Unit]
franta-hg@1
     2
Description = VCS Backup: clone
franta-hg@1
     3
After = network.target
franta-hg@1
     4
franta-hg@1
     5
[Service]
franta-hg@5
     6
User=vcs-backup
franta-hg@1
     7
ExecStart = /usr/local/bin/vcs-backup.sh serverStartCloneService
franta-hg@1
     8
franta-hg@1
     9
[Install]
franta-hg@1
    10
WantedBy = multi-user.target