diff --git a/packaging/debian_amd64/DEBIAN/postinst b/packaging/debian_amd64/DEBIAN/postinst index 97919167..bc25481c 100755 --- a/packaging/debian_amd64/DEBIAN/postinst +++ b/packaging/debian_amd64/DEBIAN/postinst @@ -8,7 +8,7 @@ case "$1" in if [ -f "/etc/init/vault.conf" ] ; then systemctl unmask vault.service >/dev/null systemctl enable vault.service >/dev/null - systemctl start vault.service >/dev/null + (systemctl start vault.service >/dev/null || :) else (>&2 echo "/etc/init/vault.conf file not found") exit 1 diff --git a/packaging/debian_armhf/DEBIAN/postinst b/packaging/debian_armhf/DEBIAN/postinst index 97919167..bc25481c 100755 --- a/packaging/debian_armhf/DEBIAN/postinst +++ b/packaging/debian_armhf/DEBIAN/postinst @@ -8,7 +8,7 @@ case "$1" in if [ -f "/etc/init/vault.conf" ] ; then systemctl unmask vault.service >/dev/null systemctl enable vault.service >/dev/null - systemctl start vault.service >/dev/null + (systemctl start vault.service >/dev/null || :) else (>&2 echo "/etc/init/vault.conf file not found") exit 1