Want more features on Pastebin? Sign Up, it's FREE!
Guest

/usr/lib/systemd/system/spectrum@.service

By: a guest on Oct 22nd, 2012  |  syntax: None  |  size: 0.41 KB  |  views: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [Unit]
  2. Description=Spectrum XMPP transport for %i
  3. After=network.service prosody.service
  4.  
  5. [Service]
  6. Type=forking
  7. PIDFile=/run/spectrum/%i.pid
  8. ExecStart=/usr/bin/spectrumctl --su=spectrum -c /etc/spectrum/%i.cfg start
  9. ExecStop=/usr/binspectrumctl --su=spectrum -c /etc/spectrum/%i.cfg stop
  10. ExecReload=/usr/binspectrumctl --su=spectrum -c /etc/spectrum/%i.cfg reload
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
clone this paste RAW Paste Data