mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-26 04:01:00 +03:00
add stop service
This commit is contained in:
parent
eb06774207
commit
3ac8eb779e
@ -109,6 +109,7 @@ def copy_wb_rule(c):
|
||||
def create_automac_systemd(c):
|
||||
#disable
|
||||
for service in ['apply_macs.service']:
|
||||
c.run(f'systemctl stop {service}', warn=True)
|
||||
c.run(f'systemctl disable {service}', warn=True)
|
||||
|
||||
file_paths = { #local path: remote path
|
||||
@ -142,6 +143,7 @@ def create_automac_systemd(c):
|
||||
def create_autogit_systemd(c):
|
||||
#disable
|
||||
for service in ['pushgit.timer', 'pushgit_inotify.service']:
|
||||
c.run(f'systemctl stop {service}', warn=True)
|
||||
c.run(f'systemctl disable {service}', warn=True)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user