Browse Source

added systemd unit

pull/56/head
Steffen Vogel 5 years ago
parent
commit
dc3033c811
  1. 11
      contrib/spectrum@.service

11
contrib/spectrum@.service

@ -0,0 +1,11 @@
[Unit]
description=spectrum2 whatsapp
After=network.target
[Service]
ExecStart=/usr/bin/spectrum2 --no-daemonize -j whatsapp.example.com --config /etc/spectrum2/transports/whatsapp.cfg
Restart=always
User=spectrum2
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save