8f3b5d5077
OBS-URL: https://build.opensuse.org/request/show/923514 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=267
27 lines
741 B
Desktop File
27 lines
741 B
Desktop File
[Unit]
|
|
Description=Start Git Daemon
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
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
|