systemd/vcs-backup-clone.service
author František Kučera <franta-hg@frantovo.cz>
Wed, 24 Apr 2019 16:59:17 +0200
branchv_0
changeset 19 d7978ca64a20
parent 5 5e5d4c937739
permissions -rw-r--r--
do pull while submitting already configured repository
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