]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: make condrestart equivalent to try-restart
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 20 Sep 2010 18:45:08 +0000 (20:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Sep 2010 22:24:23 +0000 (00:24 +0200)
commitaa5939a3ba4a0004ced1be4d8f9b0eb7521e4cef
tree8634f9c380a4985f72a6c12898e7dd7df103adc8
parentf2fcd59ffaaa97aaa238089cde5225f0e1086904
systemctl: make condrestart equivalent to try-restart

"condrestart" should be equivalent to "try-restart", i.e. it should be
translated into "TryRestartUnit". See
http://fedoraproject.org/wiki/Packaging:SysVInitScript#condrestart_and_try-restart

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=635780
src/systemctl.c