diff options
Diffstat (limited to 'debian/mongodb-org-unstable-server.postinst')
-rw-r--r-- | debian/mongodb-org-unstable-server.postinst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/mongodb-org-unstable-server.postinst b/debian/mongodb-org-unstable-server.postinst index 40f5976c044..a09e41f8edf 100644 --- a/debian/mongodb-org-unstable-server.postinst +++ b/debian/mongodb-org-unstable-server.postinst @@ -40,7 +40,9 @@ case "$1" in fi # Check for changes to the service file - systemctl daemon-reload + if $(command systemctl --help >/dev/null); then + systemctl daemon-reload + fi ;; abort-upgrade|abort-remove|abort-deconfigure) |