systemd/vcs-backup-web-hg.service
author František Kučera <franta-hg@frantovo.cz>
Fri, 19 Apr 2019 16:53:22 +0200
branchv_0
changeset 2 4c9994be0688
parent 1 9a2e2812c319
permissions -rw-r--r--
repositories are private by default; can be set public by adding the "public" parameter and then it will be available through the public web interface
     1 [Unit]
     2 Description = Mercurial
     3 After = syslog.target network.target
     4 
     5 [Service]
     6 User=vcs-backup
     7 ExecStart = /usr/bin/hg serve --web-conf /mnt/data/etc/hg-serve.cfg --address 127.0.0.1 --port 16169
     8 SuccessExitStatus = 255
     9 
    10 [Install]
    11 WantedBy = multi-user.target
    12 
    13 
    14 # Configura in etc/hg-serve.cfg:
    15 # [paths]
    16 # / = /mnt/data/current/hg/*
    17 # [web]
    18 # style = gitweb