File: rtcw-server%40.service

package info (click to toggle)
iortcw 1.51.c%2Bdfsg1-4
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 25,312 kB
  • sloc: ansic: 457,326; cpp: 6,507; makefile: 4,754; sh: 1,336; asm: 1,176; xml: 31
file content (24 lines) | stat: -rw-r--r-- 615 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=Return to Castle Wolfenstein game server (instance: "%i")
Documentation=file:///usr/share/doc/rtcw-server/README.Debian
Documentation=man:wolfded(6)
After=network.target

[Service]
Type=simple
User=rtcw-server
Environment=DAEMON_OPTS=
EnvironmentFile=-/etc/default/rtcw-server@%i
ExecStart=/usr/games/rtcw-server +set com_homepath %i.iortcw $DAEMON_OPTS +exec etc/rtcw-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