This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
AmbientCapabilities=CAP_NET_BIND_SERVICE
-
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-
DynamicUser=yes
-
ExecStart=/usr/bin/dopewars -S -r /run/dw/dw.pid -l /var/log/dw/dw.log
-
ExecStop=/usr/bin/pkill -F /run/dw/dw.pid
-
Group=games
-
KillMode=mixed
-
KillSignal=SIGQUIT
-
LogsDirectory=dw
-
MemoryDenyWriteExecute
Introduced in systemd 231=yes -
Nice=4
-
NoNewPrivileges
Introduced in systemd 239=yes -
PIDFile=/run/dw/dw.pid
-
PrivateDevices
Introduced in systemd 209=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectSystem
Introduced in systemd 214=full -
ReadOnlyPaths=/usr/bin
-
ReadWritePaths=/srv/dopewars
-
RemainAfterExit=yes
-
RuntimeDirectory=dw
-
TimeoutStopSec
Introduced in systemd 188=5s -
Type=oneshot
-
User=dopewars
-
-
[Unit]
-
After=network.target dopewars.socket
-
Description=Dopewars Server
-
Documentation=https://dopewars.sourceforge.io/docs/server.html
-
Requires=dopewars.socket
-
Wants=network-online.target systemd-networkd-wait-online.service
-
Additionnal notes
Nothing here.