Browse Source

Add example systemd service file

master
Teran McKinney 2 years ago
parent
commit
04da10f7fc
  1. 13
      settlersd.service

13
settlersd.service

@ -0,0 +1,13 @@
[Unit]
Description=settlersd service
[Service]
DynamicUser=yes
StateDirectory=settlersd
WorkingDirectory=/var/lib/settlersd
ExecStart=/usr/local/bin/settlersd /var/lib/settlersd/settlersd.json
ProtectSystem=strict
NoNewPrivileges=yes
UMask=0077
Restart=on-failure
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save