Re: RFS: sshproxy
-----BEGIN PGP SIGNED MESSAGE-----
- -=| Vincent Bernat, 20.01.2007 21:23 |=-
> But I get the point and fixed this problem by not using dh_installinit
> and invoking rc.d "by hand".
Strange. dh_installinit works for me every time. I don't use cdbs,
however so I guess my case is not the same.
Anyway, if you call the init.d script directly, you may want to use the
following often used snippet. It is actually what debhelper tries to put
in your postinst.
if [ -x "/etc/init.d/$DAEMON" ]; then
update-rc.d $DAEMON defaults >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d $DAEMON start || exit $?
$DAEMON start || exit $?
(replacing $DAEMON with the name of the init.d script)
> I have also changed the default to yes. I don't see any valid reason a
> user would install sshproxy and not launch it. Most daemons are
> packaged in a way they are automatically launched in Debian. One
> exception is rsyncd that comes with rsync package and most users are
> not interested in the daemon.
> Do you really think I should add a debconf question about this ?
It's your decision. Judging from what you wrote, I guess a debconf
question would be an overkill.
Damyan Ivanov Modular Software Systems
phone +359(2)928-2611, 929-3993 fax +359(2)920-0994
mobile +359(88)856-6067 email@example.com/Gaim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----