feat: replace systemctl commands with service equivalents

for sake of installing to devuan instead of debian, although the
latter should still work okay iiuc..
This commit is contained in:
Lance Edgar 2026-06-06 16:13:21 -05:00
parent 1c7883393b
commit 1d2d4697ec
6 changed files with 9 additions and 9 deletions

View file

@ -62,7 +62,7 @@ def restart(c):
"""
Restart the Postfix mail service
"""
c.sudo('systemctl restart postfix.service')
c.sudo("service postfix restart")
def set_config(c, setting, value):