[Unit] Description=OpenArena game server (instance: "%i") Documentation=file:///usr/share/doc/openarena-server/README.Debian After=network.target [Service] Type=simple User=Debian-openarena Environment=DAEMON_OPTS= EnvironmentFile=-/etc/default/openarena-server@%i ExecStart=/usr/games/openarena-server +set fs_homepath ${HOME}/%i.oa $DAEMON_OPTS +exec etc/openarena-server/%i.cfg Restart=on-failure RestartPreventExitStatus=72 # hardening CapabilityBoundingSet= NoNewPrivileges=true PrivateDevices=true PrivateTmp=true ProtectHome=true ProtectSystem=full [Install] WantedBy=multi-user.target