git/git-daemon.service
Dominique Leuenberger 5049141a33 Accepting request 887962 from devel:tools:scm
- Remove deprecated "syslog" option from git-daemon.service (bsc#1185147)

OBS-URL: https://build.opensuse.org/request/show/887962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=263
2021-04-24 21:07:10 +00:00

15 lines
385 B
Desktop File

[Unit]
Description=Start Git Daemon
[Service]
EnvironmentFile=-/etc/sysconfig/git-daemon
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'
Restart=always
RestartSec=500ms
SyslogIdentifier=git-daemon
[Install]
WantedBy=multi-user.target