aboutsummaryrefslogtreecommitdiffstats
path: root/roles/znc/files
diff options
context:
space:
mode:
Diffstat (limited to 'roles/znc/files')
-rw-r--r--roles/znc/files/etc_systemd_system_znc.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/znc/files/etc_systemd_system_znc.service b/roles/znc/files/etc_systemd_system_znc.service
new file mode 100644
index 0000000..866607b
--- /dev/null
+++ b/roles/znc/files/etc_systemd_system_znc.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=ZNC, an IRC bouncer
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/znc --datadir=/usr/lib/znc
+PIDFile=/var/run/znc/znc.pid
+User=znc
+
+[Install]
+WantedBy=multi-user.target