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
[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]