mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-26 12:11:00 +03:00
remove unused
This commit is contained in:
parent
b6bf557f35
commit
b0176804dc
@ -165,7 +165,7 @@ def create_autogit_systemd(c):
|
|||||||
|
|
||||||
|
|
||||||
#check statuses
|
#check statuses
|
||||||
for service in ['pushgit.timer', 'pushgit_inotify.service', 'pushgit.service']:
|
for service in ['pushgit.timer', 'pushgit_inotify.service']:
|
||||||
active = c.run(f'systemctl is-active {service} || true', hide=True).stdout.strip()
|
active = c.run(f'systemctl is-active {service} || true', hide=True).stdout.strip()
|
||||||
enabled = c.run(f'systemctl is-enabled {service} || true', hide=True).stdout.strip()
|
enabled = c.run(f'systemctl is-enabled {service} || true', hide=True).stdout.strip()
|
||||||
print(f"{service}: {active}, {enabled}")
|
print(f"{service}: {active}, {enabled}")
|
||||||
|
Loading…
Reference in New Issue
Block a user