From 5e88ee5819fa3fb5a11ca96f749b693196218879 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Wed, 16 Feb 2022 21:46:36 -0600 Subject: [PATCH] Auto restart check service --- rootfs/standard/etc/systemd/system/check_in.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/standard/etc/systemd/system/check_in.service b/rootfs/standard/etc/systemd/system/check_in.service index 4ae23a15..a2b2b685 100644 --- a/rootfs/standard/etc/systemd/system/check_in.service +++ b/rootfs/standard/etc/systemd/system/check_in.service @@ -7,12 +7,14 @@ Wants=network-online.target After=network-online.target [Service] +Type=simple ExecStart=/usr/local/bin/python3 /usr/bin/mynode_check_in.py User=root Group=root StandardOutput=syslog StandardError=syslog SyslogIdentifier=mynode +Restart=always RestartSec=30 [Install]