From c5384734bff3e795e208f7007b857d847276e1ba Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 20 Sep 2011 16:39:16 +0000 Subject: [PATCH] postinst: restart initscript instead of just start it From: Michael Prokop --- debian/ngcp-mediaproxy-ng-daemon.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/ngcp-mediaproxy-ng-daemon.postinst b/debian/ngcp-mediaproxy-ng-daemon.postinst index c368f1d96..eface1ef1 100644 --- a/debian/ngcp-mediaproxy-ng-daemon.postinst +++ b/debian/ngcp-mediaproxy-ng-daemon.postinst @@ -7,9 +7,9 @@ set -e init_wrapper() { if [ -x "/etc/init.d/ngcp-mediaproxy-ng-daemon" ]; then if [ -x "$(which invoke-rc.d 2>/dev/null)" ]; then - invoke-rc.d ngcp-mediaproxy-ng-daemon start || exit $? + invoke-rc.d ngcp-mediaproxy-ng-daemon restart || exit $? else - /etc/init.d/ngcp-mediaproxy-ng-daemon start || exit $? + /etc/init.d/ngcp-mediaproxy-ng-daemon restart || exit $? fi fi }