File minetest@.service of Package minetest

[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
openSUSE Build Service is sponsored by