etc/systemd/vcs-backup-web-hg.service
author František Kučera <franta-hg@frantovo.cz>
Thu, 29 Oct 2020 19:21:19 +0100
branchv_0
changeset 24 1d46fb79b1af
parent 21 735961d9596e
permissions -rw-r--r--
allow the ~ character in the URL
     1 [Unit]
     2 Description = Mercurial
     3 After = syslog.target network.target
     4 
     5 [Service]
     6 User=vcs-backup
     7 ExecStart = /usr/bin/hg serve --web-conf /mnt/data/etc/hg-serve.cfg --address 127.0.0.1 --port 16169
     8 SuccessExitStatus = 255
     9 
    10 [Install]
    11 WantedBy = multi-user.target