summaryrefslogtreecommitdiff
path: root/startup/goircd.service
diff options
context:
space:
mode:
Diffstat (limited to 'startup/goircd.service')
-rw-r--r--startup/goircd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/startup/goircd.service b/startup/goircd.service
new file mode 100644
index 0000000..dce0d78
--- /dev/null
+++ b/startup/goircd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=goIRC daemon
+
+[Service]
+ExecStart=/usr/local/bin/goircd -logdir /var/lib/goircd/history
+Restart=once
+RestartSec=3s
+
+[Install]
+WantedBy=multi-user.target
+Alias=goircd.service