summaryrefslogtreecommitdiffstats
path: root/debian/ircxmpp.service
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-04-27 14:54:50 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-04-27 14:54:50 +0200
commit0d2646b246def5144dee17963d165fb222b27d26 (patch)
tree21475f9850d31a83d65e5f6692daca28355ae5c5 /debian/ircxmpp.service
parentinitial commit (diff)
downloadircxmpp-0d2646b246def5144dee17963d165fb222b27d26.tar
ircxmpp-0d2646b246def5144dee17963d165fb222b27d26.tar.gz
ircxmpp-0d2646b246def5144dee17963d165fb222b27d26.tar.bz2
ircxmpp-0d2646b246def5144dee17963d165fb222b27d26.tar.lz
ircxmpp-0d2646b246def5144dee17963d165fb222b27d26.tar.xz
ircxmpp-0d2646b246def5144dee17963d165fb222b27d26.tar.zst
ircxmpp-0d2646b246def5144dee17963d165fb222b27d26.zip
Diffstat (limited to 'debian/ircxmpp.service')
-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