2017-12-03 10:06:55 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Start Git Daemon
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/git-daemon
|
2020-04-19 21:35:26 +02:00
|
|
|
ExecStart=/bin/bash -c 'exec git daemon --reuseaddr --base-path=$${GIT_DAEMON_BASE_PATH:-/srv/git/} --user=$${GIT_DAEMON_USER:-git-daemon} --group=$${GIT_DAEMON_GROUP:-nogroup} $GIT_DAEMON_ARGS'
|
2017-12-03 10:06:55 +01:00
|
|
|
|
|
|
|
Restart=always
|
|
|
|
RestartSec=500ms
|
|
|
|
|
|
|
|
SyslogIdentifier=git-daemon
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|