Update uptime.service
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user