added systemd unit
This commit is contained in:
parent
7486028b35
commit
dc3033c811
11
contrib/spectrum@.service
Normal file
11
contrib/spectrum@.service
Normal 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
|
Loading…
Reference in a new issue