From 1e0571aaa35539d5d00c0c9ba79b5a67af447406 Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 16 Jan 2017 16:24:18 +0100 Subject: Add systemd service unit file --- dist/nickserver.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 dist/nickserver.service 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 -- cgit v1.2.3