[HEADS-UP] systemd for F14 - the next steps

seth vidal skvidal at fedoraproject.org
Thu Jul 22 18:43:55 UTC 2010


On Thu, 2010-07-22 at 20:40 +0200, Lennart Poettering wrote:

> Kay and I have discussed this now. We agreed to fold systemd-install
> into systemctl entirely, and replace --realize by --now. Also, we'll
> drop some of the options --realize had, and always imply that the init
> system configuration shall be reloaded after all changes took
> place. This basically means that this
> is what will be done in %post in the general case:
> 
> if [ $1 -eq 1 ] ; then
>      systemctl enable foo.service
> else
>      systemctl daemon-reload
> 
>      # Optionally, make the update daemon restart or reload its configuration
>      systemctl reload-or-try-restart foo.service
> fi
> 
> And for %preun it'll be:
> 
> if [ $1 -eq 0 ] ; then
>     systemctl disable --now foo.service
> fi
> 

> I hope this simplification sounds good to many of you.
> 

I've not been in this thread but following along - and to me the above
is a great improvement in the command line syntax and naming.

-sv




More information about the devel mailing list