Update uptime.service
This commit is contained in:
parent
289d5b1728
commit
fbe4d86356
|
@ -4,8 +4,8 @@ After = network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type = simple
|
Type = simple
|
||||||
Environment="PATH=/root/uptime/venv/bin"
|
Environment="PATH=/root/sys_uptime/venv/bin"
|
||||||
ExecStart = python3 /root/uptime/sys_uptime.py
|
ExecStart = python3 /root/sys_uptime/sys_uptime.py
|
||||||
User = root
|
User = root
|
||||||
Group = root
|
Group = root
|
||||||
Restart = on-failure
|
Restart = on-failure
|
||||||
|
|
Loading…
Reference in New Issue