systemd/vcs-backup-web-hg.service
author František Kučera <franta-hg@frantovo.cz>
Sat, 20 Apr 2019 22:24:24 +0200
branchv_0
changeset 10 5454e8a0c53e
parent 1 9a2e2812c319
permissions -rw-r--r--
use variables in clientSubmitBackupRequest
franta-hg@1
     1
[Unit]
franta-hg@1
     2
Description = Mercurial
franta-hg@1
     3
After = syslog.target network.target
franta-hg@1
     4
franta-hg@1
     5
[Service]
franta-hg@1
     6
User=vcs-backup
franta-hg@1
     7
ExecStart = /usr/bin/hg serve --web-conf /mnt/data/etc/hg-serve.cfg --address 127.0.0.1 --port 16169
franta-hg@1
     8
SuccessExitStatus = 255
franta-hg@1
     9
franta-hg@1
    10
[Install]
franta-hg@1
    11
WantedBy = multi-user.target
franta-hg@1
    12
franta-hg@1
    13
franta-hg@1
    14
# Configura in etc/hg-serve.cfg:
franta-hg@1
    15
# [paths]
franta-hg@1
    16
# / = /mnt/data/current/hg/*
franta-hg@1
    17
# [web]
franta-hg@1
    18
# style = gitweb