File: etqw-server.service

package info (click to toggle)
game-data-packager 73
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 23,420 kB
  • sloc: python: 11,086; sh: 609; makefile: 59
file content (25 lines) | stat: -rw-r--r-- 616 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=Enemy Territory: Quake Wars game server
After=network.target
Documentation=man:etqw-dedicated(6)

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