Zen
3 years ago
3 changed files with 20 additions and 2 deletions
@ -0,0 +1,18 @@
|
||||
[Unit] |
||||
Description=Git Daemon |
||||
|
||||
[Service] |
||||
ExecStart=/usr/bin/git daemon --reuseaddr --base-path=/srv/git/ /srv/git/ |
||||
|
||||
Restart=always |
||||
RestartSec=500ms |
||||
|
||||
StandardOutput=syslog |
||||
StandardError=syslog |
||||
SyslogIdentifier=git-daemon |
||||
|
||||
User=USER |
||||
Group=USER |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
Loading…
Reference in new issue