aboutsummaryrefslogtreecommitdiff
path: root/debian/mauvealert-server.service
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2017-07-31 11:42:14 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2017-07-31 11:42:14 +0100
commitda925080e7eddd86f5987f6ef95c7b0e333bb2b5 (patch)
tree65b48c9d278bd40a742f575a9aec482b4953ff3d /debian/mauvealert-server.service
parent24f071827c853c059f8086b884252d6c78876173 (diff)
Removed init script, added systemd service, removed common package etc
Also * added bundler boilerplate to bin/mauveserver * fixed jquery symlinks in server postinst and links files * updated gitignore
Diffstat (limited to 'debian/mauvealert-server.service')
-rw-r--r--debian/mauvealert-server.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/mauvealert-server.service b/debian/mauvealert-server.service
new file mode 100644
index 0000000..7cd49ba
--- /dev/null
+++ b/debian/mauvealert-server.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Mauve Alert Server
+After=network.target
+
+[Service]
+Type=simple
+Restart=always
+WorkingDirectory=/srv/mauvealert
+ExecStart=/srv/mauvealert/bin/mauvealert /etc/mauveserver.conf
+
+[Install]
+WantedBy=multi-user.target
+
+