systemd/vcs-backup-web-hg.service
branchv_0
changeset 21 735961d9596e
parent 20 8cd5d49dfaa2
child 22 b2cb46ae50f7
     1.1 --- a/systemd/vcs-backup-web-hg.service	Wed Apr 24 17:09:27 2019 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,18 +0,0 @@
     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