On Tue, Mar 02, 2010 at 12:59:52PM -0500, Seth Vidal wrote:
> especially considering what it provides :(
> repoquery -ql tor-lsb
> /etc/rc.d/init.d/tor
> /var/run/tor
Check out the post/preun scripts:
%post lsb
/usr/lib/lsb/install_initd %_initrddir/tor || {
cat <<EOF >&2
oouch... redhat-lsb is still broken. See the report
https://bugzilla.redhat.com/show_bug.cgi?id=522053
for details.
EOF
/sbin/chkconfig --add tor
}
%preun lsb
test "$1" != 0 || %_initrddir/tor stop &>/dev/null || :
test "$1" != 0 || /usr/lib/lsb/remove_initd %_initrddir/tor
%postun lsb
test "$1" = 0 || env -i %_initrddir/tor try-restart &>/dev/null
But /usr/lib/lsb/install_initd and /usr/lib/lsb/remove_initd are symlinks
to chkconfig!!!
--
Matthew Miller <[email protected]>
Senior Systems Architect -- Instructional & Research Computing Services
Computing & Information Technology
Harvard School of Engineering & Applied Sciences
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel