Auto restart check service

This commit is contained in:
Taylor Helsper 2022-02-16 21:46:36 -06:00
parent b5cd52bf39
commit 5e88ee5819

View File

@ -7,12 +7,14 @@ Wants=network-online.target
After=network-online.target After=network-online.target
[Service] [Service]
Type=simple
ExecStart=/usr/local/bin/python3 /usr/bin/mynode_check_in.py ExecStart=/usr/local/bin/python3 /usr/bin/mynode_check_in.py
User=root User=root
Group=root Group=root
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog
SyslogIdentifier=mynode SyslogIdentifier=mynode
Restart=always
RestartSec=30 RestartSec=30
[Install] [Install]