Send an email in case of error
[stakingWatchdog.git] / doc / staking_watchdog.service
diff --git a/doc/staking_watchdog.service b/doc/staking_watchdog.service
new file mode 100644 (file)
index 0000000..dfda77a
--- /dev/null
@@ -0,0 +1,14 @@
+[Unit]
+Description=staking_watchdog
+
+[Service]
+WorkingDirectory=/home/gburri/staking_watchdog
+ExecStart=/home/gburri/staking_watchdog/staking_watchdog
+SyslogIdentifier=staking_watchdog
+Restart=always
+RestartSec=10
+KillSignal=SIGINT
+
+[Install]
+WantedBy=default.target
+