2020-06-28 13:15:25 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Stuntman STUN-Server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-11-26 09:24:21 +01:00
|
|
|
# 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
|
2020-06-28 13:15:25 +02:00
|
|
|
Type=simple
|
|
|
|
User=stuntman
|
|
|
|
Group=stuntman
|
|
|
|
EnvironmentFile=/etc/sysconfig/stuntman
|
|
|
|
ExecStart=/usr/bin/stunserver $STUNSERVER_OPTIONS
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|