/lib/systemd/system/openarena-server.service is in openarena-server 0.8.8-17.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | [Unit]
Description=OpenArena game server
After=network.target
# This server and the @server instance would try to use the same
# configuration, and fight over their home directory
Conflicts=openarena-server@server.service
[Service]
Type=simple
User=Debian-openarena
Environment=DAEMON_OPTS=
EnvironmentFile=-/etc/default/openarena-server
ExecStart=/usr/games/openarena-server +set com_homepath server.oa $DAEMON_OPTS +exec etc/openarena-server/server.cfg
Restart=on-failure
RestartPreventExitStatus=72
# hardening
CapabilityBoundingSet=
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=full
[Install]
WantedBy=multi-user.target
|