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

RE: All services that require a restart from libc6 upgrade...



> Then each affected package could have a file in /etc/nss-restart along
> the lines of:
>
>   set $(runlevel)  # $2 is now current runlevel
>   name=service
>   rcfile=/etc/rc$2.d/S??$name
>
>   test -f $rcfile && $rcfile restart

I'm just wondering, but would it be sufficient to just have a symlink to
/etc/init.d/<package>, and run that with just a simple restart? or were you
thinking more along the line of a separate script file?

> Simple, cleaner, more elegant, more obvious, less confusing.
> Refinements, comments, and criticisms are welcome, but I think this is
> a far superior approach.

Absolutely.

-m



Reply to: