summaryrefslogtreecommitdiffstats
path: root/debian/ircxmpp.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/ircxmpp.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/ircxmpp.service b/debian/ircxmpp.service
new file mode 100644
index 0000000..18eb171
--- /dev/null
+++ b/debian/ircxmpp.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=one-to-one bridge between IRC and XMPP
+After=network.target
+
+[Service]
+TemporaryFileSystem=/:ro
+BindReadOnlyPaths=/lib /etc /usr/bin
+EnvironmentFile=-/etc/ircxmpp
+Type=simple
+DynamicUser=yes
+ExecStart=/usr/bin/ircxmpp
+Restart=no
+
+[Install]
+WantedBy=multi-user.target