Skip to content

Commit

Permalink
strike superflous reload of services
Browse files Browse the repository at this point in the history
  • Loading branch information
hpk42 committed Feb 17, 2020
1 parent e220566 commit 44ec5bc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/mailadm/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,3 @@ def postmap(self, path):
print("postmap", path)
if not self.dryrun:
subprocess.check_call(["/usr/sbin/postmap", path])

def reload_services(self):
if self.dryrun:
print("would reload services")
else:
subprocess.check_call(["/usr/sbin/service", "postfix", "reload"])
subprocess.check_call(["/usr/sbin/service", "dovecot", "reload"])

0 comments on commit 44ec5bc

Please sign in to comment.