[systemd-devel] %post %preun rpm macros
Lennart Poettering
lennart at poettering.net
Tue Mar 1 13:20:03 PST 2011
On Tue, 01.03.11 14:38, Alexey Shabalin (a.shabalin at gmail.com) wrote:
Heya,
> "condrestart" equivalent to a "try-restart"
As you found out this alias already exists.
> "condreload" may be like "reload-or-try-restart"
Added this alias now for you.
> Is it possible to add aliase for "condrestart" to "try-restart"? and
> "condreload" to "reload-or-try-restart"?
Done.
> What use for "condstop"? May be "stop"?
Yes, our "stop" is a noop anyway if a service isn't running.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list