summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-01-16 16:24:18 +0100
committervarac <varacanero@zeromail.org>2017-01-16 16:24:18 +0100
commit1e0571aaa35539d5d00c0c9ba79b5a67af447406 (patch)
tree65fc9da995b6a31acae9df6516fb02658c15ca36
parent8e4dca14c904c405fd56d27e6efe77ec17e80457 (diff)
Add systemd service unit file
-rw-r--r--dist/nickserver.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/dist/nickserver.service b/dist/nickserver.service
new file mode 100644
index 0000000..6d3ca89
--- /dev/null
+++ b/dist/nickserver.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Leap nickserver
+Before=apache2.service
+
+[Service]
+ExecStart=/usr/bin/ruby /usr/bin/nickserver start
+Type=forking
+
+[Install]
+WantedBy=multi-user.target