blob: b6446bd623ae5673e8ee4fe4216a021c2cf220a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=QuakeJS dedicated server
After=network.target
[Service]
User=quakejs
Type=simple
EnvironmentFile=/etc/conf.d/quakejs
ExecStart=/bin/bash -c "/usr/bin/node build/ioq3ded.js ${QUAKEJS_DS_PARAMS}"
WorkingDirectory=/usr/share/webapps/quakejs
LimitNOFILE=1048576
LimitNPROC=64
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadOnlyPaths=/etc/webapps/quakejs/server.cfg
[Install]
WantedBy=multi-user.target
|