File: quake4-server.service

package info (click to toggle)
game-data-packager 87
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 33,392 kB
  • sloc: python: 15,387; sh: 704; ansic: 95; makefile: 50
file content (25 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (7)
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=Quake 4 game server
After=network.target
Documentation=man:quake4-dedicated(6)

[Service]
Type=simple
User=quake4-server
Environment=DAEMON_OPTS=
EnvironmentFile=-/etc/default/quake4-server
ExecStart=/usr/games/quake4-dedicated --allow-binary-only $DAEMON_OPTS +exec etc/quake4-server/server.cfg
Restart=on-failure
RestartPreventExitStatus=72
# hardening
CapabilityBoundingSet=
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=full
# this game uses proprietary x86-only binaries, even on amd64
Personality=x86

[Install]
WantedBy=multi-user.target