Re: RFS: sshproxy
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -=| 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 $?
else
$DAEMON start || exit $?
fi
fi
(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.
Good night,
dam
- --
Damyan Ivanov Modular Software Systems
dam@modsoftsys.com
phone +359(2)928-2611, 929-3993 fax +359(2)920-0994
mobile +359(88)856-6067 dam@jabber.minus273.org/Gaim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFso3wHqjlqpcl9jsRAg7mAKCunHMoqHS6YChiilmHo00eF4WVfgCfYWco
dUL+v8Jx/ihdRAQ1pNaHvdE=
=rt7g
-----END PGP SIGNATURE-----
Reply to: