diff --git a/contrib/spectrum@.service b/contrib/spectrum@.service new file mode 100644 index 0000000..24f5806 --- /dev/null +++ b/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