remove unused

This commit is contained in:
vvzvlad 2023-04-18 01:51:21 +07:00
parent b6bf557f35
commit b0176804dc

View File

@ -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}")