Debian Codegraph @

debian/openarena-server.service

raw
1 [Unit]
2 Description=OpenArena game server
3 Documentation=file:///usr/share/doc/openarena-server/README.Debian
4 After=network.target
5 # This server and the @server instance would try to use the same
6 # configuration, and fight over their home directory
7 [email protected]
8
9 [Service]
10 Type=simple
11 User=Debian-openarena
12 Environment=DAEMON_OPTS=
13 EnvironmentFile=-/etc/default/openarena-server
14 ExecStart=/usr/games/openarena-server +set fs_homepath ${HOME}/server.oa $DAEMON_OPTS +exec etc/openarena-server/server.cfg
15 Restart=on-failure
16 RestartPreventExitStatus=72
17 # hardening
18 CapabilityBoundingSet=
19 NoNewPrivileges=true
20 PrivateDevices=true
21 PrivateTmp=true
22 ProtectHome=true
23 ProtectSystem=full
24
25 [Install]
26 WantedBy=multi-user.target