forked from pool/bzflag
39cda581d8
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features\#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/914396 OBS-URL: https://build.opensuse.org/package/show/games/bzflag?expand=0&rev=34
39 lines
974 B
Desktop File
39 lines
974 B
Desktop File
# Automatically generated by systemd-sysv-generator
|
|
|
|
[Unit]
|
|
Documentation=http://bzflag.org/
|
|
SourcePath=/usr/share/bzflag/scripts/rcbzflagserver
|
|
Description=LSB: bzflag server daemon
|
|
After=remote-fs.target
|
|
Wants=remote-fs.target
|
|
Wants=syslog.socket
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=forking
|
|
Restart=no
|
|
TimeoutSec=5min
|
|
IgnoreSIGPIPE=no
|
|
KillMode=process
|
|
GuessMainPID=no
|
|
RemainAfterExit=yes
|
|
SuccessExitStatus=5 6
|
|
ExecStart=/usr/share/bzflag/scripts/rcbzflagserver start
|
|
ExecStop=/usr/share/bzflag/scripts/rcbzflagserver stop
|
|
ExecReload=/usr/share/bzflag/scripts/rcbzflagserver reload
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|