systemd/vcs-backup-web-hg.service
branchv_0
changeset 1 9a2e2812c319
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/systemd/vcs-backup-web-hg.service	Thu Apr 18 21:16:33 2019 +0200
     1.3 @@ -0,0 +1,18 @@
     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
    1.15 +
    1.16 +
    1.17 +# Configura in etc/hg-serve.cfg:
    1.18 +# [paths]
    1.19 +# / = /mnt/data/current/hg/*
    1.20 +# [web]
    1.21 +# style = gitweb