Cleanup and restructuring. Move pressed-installer tasks to other roles.
This commit is contained in:
parent
a0ee0fd90d
commit
284dadc2d3
15 changed files with 214 additions and 154 deletions
18
roles/prepare4clients/templates/git-repo.j2
Normal file
18
roles/prepare4clients/templates/git-repo.j2
Normal file
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=Start Git Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/git daemon --reuseaddr --export-all --base-path={{ repo_dir }}
|
||||
|
||||
Restart=always
|
||||
RestartSec=500ms
|
||||
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=git-daemon
|
||||
|
||||
User=nobody
|
||||
Group=nogroup
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue