forked from pool/minetest
- Change gameid set (boo#1218223) * Add environment with additional startup options * Change ExecStart with additional startup options env OBS-URL: https://build.opensuse.org/request/show/1134381 OBS-URL: https://build.opensuse.org/package/show/games/minetest?expand=0&rev=81
29 lines
758 B
Desktop File
29 lines
758 B
Desktop File
[Unit]
|
|
Description=Minetest multiplayer server %i.conf server config
|
|
Documentation=man:minetestserver(6)
|
|
After=network.target
|
|
|
|
[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
|
|
Restart=on-failure
|
|
User=minetest
|
|
Group=minetest
|
|
Type=simple
|
|
EnvironmentFile=/etc/minetest/%i.env
|
|
ExecStart=/usr/bin/minetestserver --config /etc/minetest/%i.conf --world /var/lib/minetest/%i/ $MINETEST_OPTIONS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|