diff -r 6207c211aafd -r 9a2e2812c319 systemd/vcs-backup-web-hg.service --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/systemd/vcs-backup-web-hg.service Thu Apr 18 21:16:33 2019 +0200 @@ -0,0 +1,18 @@ +[Unit] +Description = Mercurial +After = syslog.target network.target + +[Service] +User=vcs-backup +ExecStart = /usr/bin/hg serve --web-conf /mnt/data/etc/hg-serve.cfg --address 127.0.0.1 --port 16169 +SuccessExitStatus = 255 + +[Install] +WantedBy = multi-user.target + + +# Configura in etc/hg-serve.cfg: +# [paths] +# / = /mnt/data/current/hg/* +# [web] +# style = gitweb