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 26
|
[Unit]
Description=Quake III Arena game server
After=network.target
Documentation=man:quake3-server(6)
# This server and the @server instance would try to use the same
# configuration, and fight over their home directory
Conflicts=quake3-server@server.service
[Service]
Type=simple
User=Debian-quake3
Environment=DAEMON_OPTS=
EnvironmentFile=-/etc/default/quake3-server
ExecStart=/usr/games/quake3-server +set fs_homepath ${HOME}/server.q3a $DAEMON_OPTS +exec etc/quake3-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
|