/usr/share/debhelper/autoscripts/postinst-init-restart is in debhelper 9.20150101+deb8u2.
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 9 | if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
invoke-rc.d #SCRIPT# $_dh_action || #ERROR_HANDLER#
fi
|