franta-hg@1: [Unit] franta-hg@1: Description = Mercurial franta-hg@1: After = syslog.target network.target franta-hg@1: franta-hg@1: [Service] franta-hg@1: User=vcs-backup franta-hg@1: ExecStart = /usr/bin/hg serve --web-conf /mnt/data/etc/hg-serve.cfg --address 127.0.0.1 --port 16169 franta-hg@1: SuccessExitStatus = 255 franta-hg@1: franta-hg@1: [Install] franta-hg@1: WantedBy = multi-user.target franta-hg@1: franta-hg@1: franta-hg@1: # Configura in etc/hg-serve.cfg: franta-hg@1: # [paths] franta-hg@1: # / = /mnt/data/current/hg/* franta-hg@1: # [web] franta-hg@1: # style = gitweb