summaryrefslogtreecommitdiffstats
path: root/systemd/syslog2IRC@.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/syslog2IRC@.service')
-rw-r--r--systemd/syslog2IRC@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/syslog2IRC@.service b/systemd/syslog2IRC@.service
new file mode 100644
index 0000000..90973e9
--- /dev/null
+++ b/systemd/syslog2IRC@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description = syslog2IRC for %i
+After = oragono.service
+
+[Service]
+User = syslog2IRC
+ExecStart = /opt/syslog2IRC/syslog2IRC-venv-3.7.2/bin/syslog2irc /opt/syslog2IRC/%i.toml
+StandardOutput = null
+StandardError = journal
+SyslogIdentifier = syslog2IRC-%i
+
+[Install]
+WantedBy = multi-user.target