summaryrefslogtreecommitdiff
path: root/pcr/spectrum/spectrum@.service
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-15 12:58:31 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-15 12:58:31 -0500
commit3b2e0940912977aadb95b4b19f7f46c18b6ae93e (patch)
tree10ac82b7c5b8e6af2722376600214cc9ce74e558 /pcr/spectrum/spectrum@.service
parent20e3130d771b0f74af0ef0fc0b36c5fa184e7e8f (diff)
Adding poco, libpurple-minimal and spectrum to pcr
Diffstat (limited to 'pcr/spectrum/spectrum@.service')
-rw-r--r--pcr/spectrum/spectrum@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/spectrum/spectrum@.service b/pcr/spectrum/spectrum@.service
new file mode 100644
index 000000000..8e1338543
--- /dev/null
+++ b/pcr/spectrum/spectrum@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Spectrum XMPP transport for %i
+After=network.service prosody.service ejabberd.service
+
+[Service]
+Type=forking
+PIDFile=/run/spectrum/%i.pid
+ExecStart=/usr/bin/spectrumctl --su=spectrum -c /etc/spectrum/%i.cfg start
+ExecStop=/usr/binspectrumctl --su=spectrum -c /etc/spectrum/%i.cfg stop
+ExecReload=/usr/binspectrumctl --su=spectrum -c /etc/spectrum/%i.cfg reload
+
+[Install]
+WantedBy=multi-user.target
+