/usr/share/debhelper/autoscripts/postinst-upstart-restart 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 4 5 6 7 8 | if [ -x "/etc/init.d/#JOB#" ]; then
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
invoke-rc.d #JOB# $_dh_action || #ERROR_HANDLER#
fi
|