diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 20:32:54 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 20:32:54 +0200 |
commit | 8df2eae25bad38a0c65008a56d76732ea275f3f7 (patch) | |
tree | f7bd1cfae8cb031d21b9b75ccc0b6d7537aa3322 | |
parent | 89bc80bc7eda8bf64b7ca5bbf564569a447996ca (diff) |
reload/restart postfix with command service (not invoke-rc.d)
-rwxr-xr-x | postfix/postfix.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 2556e95..a32408d 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -447,9 +447,9 @@ case $do_update in done if [ "1" = "$needs_restart" ]; then - invoke-rc.d postfix restart + service postfix restart else - invoke-rc.d postfix force-reload + service postfix force-reload fi if [ "1" = "$needs_reload" ]; then |