path: rygel_45.1-3/debian/rygel.prerm remove) # shut down daemon when removing it. PIDS=$(pidof /usr/bin/rygel || true) if [ "$PIDS" != "" ]; then kill $PIDS path: rygel_45.1-3/debian/rygel.postinst # make running rygel processes restart themselves. PIDS=$(pidof /usr/bin/rygel || true) if [ "$PIDS" != "" ]; then kill -HUP $PIDS