mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Auto restart check service
This commit is contained in:
parent
b5cd52bf39
commit
5e88ee5819
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user