Added some stuff for systemd

This commit is contained in:
Rick Falkvinge
2016-11-04 17:46:13 +01:00
parent fd409b15c0
commit 48bf7ae91f
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,12 @@
[Unit]
Description=Swarmops Backend
After=network.target
[Service]
ExecStart=/usr/bin/mono /usr/share/swarmops/backend/Swarmops.Backend.exe
WorkingDirectory=/usr/share/swarmops/backend
Restart=on-abort
[Install]
WantedBy=multi-user.target