[systemd-devel] how make reload=restart

Lennart Poettering lennart at poettering.net
Tue May 10 10:28:22 PDT 2011


On Tue, 10.05.11 21:18, Alexey Shabalin (a.shabalin at gmail.com) wrote:

> 
> > Instead, just use "systemctl reload-or-restart ..." in your client code
> > and things will work fine. We added "reload-or-restart" precisely for
> > use cases like this, so, go, use it!
>
> Sorry, but we must provide good support systemd and SysV in our discributive.
> Our "service" knows nothing about "reload-or-restart" :(

Then add it into your /bin/service compat glue, not in the services themselves.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list