diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-03-19 01:03:30 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-03-19 01:03:30 +0100 |
| commit | a80915a8bf0d853839a66887d35f7b380e4b09e7 (patch) | |
| tree | 8c4b9b7b7b90f2648283209ab7a0c97171d3827a /CRSM.service | |
| parent | 3d01ec1643191822370ba01c11ec6cc247e06599 (diff) | |
| download | manager-a80915a8bf0d853839a66887d35f7b380e4b09e7.tar.gz manager-a80915a8bf0d853839a66887d35f7b380e4b09e7.zip | |
Added systemd.service file and helper scripts (they need netcat). It's
meant that Clonk and CRSM are installed in /opt/clonk.
Diffstat (limited to 'CRSM.service')
| -rw-r--r-- | CRSM.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CRSM.service b/CRSM.service new file mode 100644 index 0000000..ec80deb --- /dev/null +++ b/CRSM.service @@ -0,0 +1,17 @@ +[Unit] +Description=A Server Manager for Clonk Rage +After=network.target + +[Service] +User=clonk +Group=clonk +WorkingDirectory=/opt/clonk/ +ExecStart=/opt/clonk/CrServerManager +ExecReload=/opt/clonk/reload-CRSM +ExecStop=/opt/clonk/stop-CRSM +KillMode=process +Restart=on-failure +TimeoutStopSec=10 + +[Install] +WantedBy=multi-user.target |
