aboutsummaryrefslogtreecommitdiff
path: root/arch/mutebot@.service
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mutebot@.service')
-rw-r--r--arch/mutebot@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mutebot@.service b/arch/mutebot@.service
new file mode 100644
index 0000000..a9f0b21
--- /dev/null
+++ b/arch/mutebot@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=mutebot
+Documentation=man:mutebot(1)
+After=network.target network-online.target nss-lookup.target
+
+[Service]
+Type=simple
+User=mutebot
+EnvironmentFile=/etc/mutebot/%i.conf
+ExecStartPre=/usr/bin/mutebot -l -d /var/lib/mutebot/%i/
+ExecStart=/usr/bin/mutebot -d /var/lib/mutebot/%i/
+
+[Install]
+WantedBy=multi-user.target