/usr/share/debhelper/autoscripts/prerm-upstart-norestart is in debhelper 9.20120115ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 | if [ -e "/etc/init/#JOB#.conf" ] && [ "$1" = remove ]; then
invoke-rc.d #JOB# stop || #ERROR_HANDLER#
fi
|