[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pinto package.



>   - I guess pintod should be started in .postinst insted of stopped, and
>    stopped in .postrm

It's actions automatically added by dh_installinit.

pinto.postinst.debhelper:

# Automatically added by dh_installinit
if [ -x "/etc/init.d/pinto" ]; then
	update-rc.d pinto defaults >/dev/null
	invoke-rc.d pinto start || exit $?
fi
# End automatically added section


pinto.prerm.debhelper:

# Automatically added by dh_installinit
if [ -x "/etc/init.d/pinto" ]; then
	invoke-rc.d pinto stop || exit $?
fi
# End automatically added section

After pinto install see files /var/lib/dpkg/info/pinto.postinst and /var/lib/dpkg/info/pinto.prerm.

"invoke-rc.d pinto stop" added to debian/pinto.postinst file for restart pintod.

--
Best regards, Oleg Gashev.


Reply to: