Browse Source

added systemd unit

pull/56/head
Steffen Vogel 4 years ago
parent
commit
dc3033c811
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      contrib/spectrum@.service

+ 11
- 0
contrib/spectrum@.service 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

Loading…
Cancel
Save