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

Re: Pinto package.



On Sun, 25 Aug 2013 21:12:17 +0000, Oleg Gashev wrote:

> >   - I guess pintod should be started in .postinst insted of stopped, and
> >    stopped in .postrm
> 
> It's actions automatically added by dh_installinit.

I see in the source package:

% cat debian/pinto.postinst
[..]
    invoke-rc.d pinto stop
fi

#DEBHELPER#

> 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
> 
> "invoke-rc.d pinto stop" added to debian/pinto.postinst file for
> restart pintod.

Why?


Cheers,
gregor
 

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Tom Waits: Georgia Lee

Attachment: signature.asc
Description: Digital signature


Reply to: