debian: handle hobo-redeploy trigger (#9405)

This commit is contained in:
Frédéric Péters 2016-01-10 11:56:15 +01:00
parent 384b4f158d
commit a4571e0c69
2 changed files with 6 additions and 0 deletions

View File

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

1
debian/welco.triggers vendored Normal file
View File

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