etc/systemd/vcs-backup-web-hg.service
branchv_0
changeset 21 735961d9596e
parent 1 9a2e2812c319
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/etc/systemd/vcs-backup-web-hg.service	Wed Apr 24 17:29:04 2019 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +[Unit]
     1.5 +Description = Mercurial
     1.6 +After = syslog.target network.target
     1.7 +
     1.8 +[Service]
     1.9 +User=vcs-backup
    1.10 +ExecStart = /usr/bin/hg serve --web-conf /mnt/data/etc/hg-serve.cfg --address 127.0.0.1 --port 16169
    1.11 +SuccessExitStatus = 255
    1.12 +
    1.13 +[Install]
    1.14 +WantedBy = multi-user.target