git-daemon.service.j2 - ansible-roles - A collection of ansible roles I have created over the years.
(HTM) git clone git://jay.scot/ansible-roles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
git-daemon.service.j2 (327B)
---
1 [Unit]
2 Description=Start Git Daemon
3
4 [Service]
5 ExecStart=/usr/bin/git daemon --reuseaddr --base-path={{ git.base_path }} {{ git.base_path }}
6
7 Restart=always
8 RestartSec=500ms
9
10 StandardOutput=syslog
11 StandardError=syslog
12 SyslogIdentifier=git-daemon
13
14 User={{ git.user }}
15 Group={{ git.group }}
16
17 [Install]
18 WantedBy=multi-user.target