First working version for Netbootbox-Install
This commit is contained in:
parent
790f0327ca
commit
7bf673e2c6
59 changed files with 659 additions and 171 deletions
|
@ -0,0 +1,20 @@
|
|||
[Unit]
|
||||
Description={{ service_description }}
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/git daemon --reuseaddr --base-path={{ playbook_dir }} {{ playbook_dir }}
|
||||
Restart=on-failure
|
||||
|
||||
Restart=always
|
||||
RestartSec=500ms
|
||||
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=git-daemon
|
||||
|
||||
User=ansible
|
||||
Group=ansible
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue