diff --git a/etc/systemd/system/twilio_webhook.service b/etc/systemd/system/twilio_webhook.service new file mode 100644 index 0000000..81220aa --- /dev/null +++ b/etc/systemd/system/twilio_webhook.service @@ -0,0 +1,14 @@ +[Unit] +Description=Grafana SMS webhook for twilio + +[Service] +ExecStart=/home/pi/git/grafana_twilio_webhook/run.sh +WorkingDirectory=/home/pi/git/grafana_twilio_webhook +User=pi +StandardOutput=journal +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target +