debian: handle hobo-redeploy trigger (#9405)

This commit is contained in:
Frédéric Péters 2016-01-10 11:37:41 +01:00
parent 8acb530b59
commit c9eb0b6def
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ NAME="passerelle"
USER=$NAME
GROUP=$NAME
CONFIG_DIR="/etc/$NAME"
MANAGE_SCRIPT="/usr/bin/$NAME-manage"
case "$1" in
configure)
@ -31,6 +32,10 @@ case "$1" in
fi
;;
triggered)
su -s /bin/sh -c "$MANAGE_SCRIPT check_hobos --redeploy" $USER
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)

1
debian/passerelle.triggers vendored Normal file
View File

@ -0,0 +1 @@
interest-noawait hobo-redeploy