summarylogtreecommitdiffstats
path: root/jackal.service
diff options
context:
space:
mode:
authorSam Whited2019-01-02 18:53:33 -0600
committerSam Whited2019-01-02 18:53:33 -0600
commit6ff4d1cf2ef613b575336b6f779a0de14f02eca8 (patch)
treee51c2a36eb517fc582d072cb7097ac23f5902703 /jackal.service
downloadaur-6ff4d1cf2ef613b575336b6f779a0de14f02eca8.tar.gz
Initial commit of version 0.4.0
Diffstat (limited to 'jackal.service')
-rw-r--r--jackal.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/jackal.service b/jackal.service
new file mode 100644
index 00000000000..b204de5194d
--- /dev/null
+++ b/jackal.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Jackal XMPP/Jabber server
+After=syslog.target
+After=network.target
+After=mysqld.service
+After=mariadb.service
+
+[Service]
+RestartSec=1s
+Type=simple
+PIDFile=/var/lib/jackal/data/jackal.pid
+User=jackal
+Group=jackal
+WorkingDirectory=/var/lib/jackal
+ExecStart=/usr/bin/jackal
+Restart=always
+
+[Install]
+WantedBy=multi-user.target