added systemd unit

This commit is contained in:
Steffen Vogel 2016-02-23 09:09:27 +01:00
parent 7486028b35
commit dc3033c811

11
contrib/spectrum@.service Normal file
View file

@ -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