added systemd unit for hosting on a raspberry pi.
This commit is contained in:
14
etc/systemd/system/twilio_webhook.service
Normal file
14
etc/systemd/system/twilio_webhook.service
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user