diff --git a/xmpp-webhook.service b/xmpp-webhook.service new file mode 100644 index 0000000..bc9d65b --- /dev/null +++ b/xmpp-webhook.service @@ -0,0 +1,12 @@ +[Unit] +Description=XMPP-Webhook +After=network.target + +[Service] +EnvironmentFile=/etc/xmpp-webhook.env +ExecStart=/usr/local/bin/xmpp-webhook +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target