2 Description=Dopewars Server
3 Documentation=https://dopewars.sourceforge.io/docs/server.html
4 After=network.target dopewars.socket
5 Requires=dopewars.socket
6 Wants=network-online.target systemd-networkd-wait-online.service
10 ExecStart=/usr/bin/dopewars -S -r /run/dw/dw.pid -l /var/log/dw/dw.log
11 PIDFile=/run/dw/dw.pid
13 ExecStop=/usr/bin/pkill -F /run/dw/dw.pid
21 ReadOnlyPaths=/usr/bin
22 ReadWritePaths=/srv/dopewars
29 MemoryDenyWriteExecute=true
30 CapabilityBoundingSet=CAP_NET_BIND_SERVICE
31 AmbientCapabilities=CAP_NET_BIND_SERVICE
34 WantedBy=multi-user.target