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