summaryrefslogtreecommitdiff
path: root/net-irc/atheme-services/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/atheme-services/files')
-rw-r--r--net-irc/atheme-services/files/atheme-services.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-irc/atheme-services/files/atheme-services.service b/net-irc/atheme-services/files/atheme-services.service
new file mode 100644
index 000000000000..a552ead5b413
--- /dev/null
+++ b/net-irc/atheme-services/files/atheme-services.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Atheme IRC services
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+RuntimeDirectory=atheme
+ExecStart=/usr/bin/atheme-services
+ExecReload=kill -HUP $MAINPID
+Type=forking
+PIDFile=/run/atheme/atheme.pid
+User=atheme-services
+
+[Install]
+WantedBy=multi-user.target