File: quake2-server%40.service

package info (click to toggle)
game-data-packager 85.1
  • links: PTS, VCS
  • area: contrib
  • in suites: trixie
  • size: 33,332 kB
  • sloc: python: 15,320; sh: 713; ansic: 95; makefile: 60
file content (24 lines) | stat: -rw-r--r-- 566 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
[Unit]
Description=Quake II game server (instance: "%i")
After=network.target
Documentation=man:quake2-server(6)

[Service]
Type=simple
User=quake2-server
Environment=DAEMON_OPTS=
Environment=HOME=/var/games/quake2-server/%i.home
EnvironmentFile=-/etc/default/quake2-server
ExecStart=/usr/games/quake2-server $DAEMON_OPTS +exec etc/quake2-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