File: quake-server.service

package info (click to toggle)
game-data-packager 67
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye
  • size: 16,188 kB
  • sloc: python: 10,576; sh: 515; makefile: 491
file content (25 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (6)
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 game server
After=network.target
Documentation=man:quake-server(6)
# This server and the @server instance would try to use the same configuration
Conflicts=quake-server@server.service

[Service]
Type=simple
User=quake-server
Environment=DAEMON_OPTS=
EnvironmentFile=-/etc/default/quake-server
ExecStart=/usr/games/quake-server $DAEMON_OPTS +exec etc/quake-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