stop AND restart daemon when necessary

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 15 years ago
parent ab422569c1
commit cd2f8ca351

@ -15,10 +15,10 @@ if [ "x${isadded}" = "x" ] ; then
fi
if [ "$1" = 'configure' ] ; then
# make sure it's not running
/etc/init.d/ngcp-mediaproxy-ng-daemon stop || true
dkms build -m "$name" -v "$version" && dkms install -m "$name" -v "$version" || true
# try to start the daemon
/etc/init.d/ngcp-mediaproxy-ng-daemon start || true
fi
#DEBHELPER#

Loading…
Cancel
Save