On Fri, Jul 23, 2010 at 02:43:45AM +0200, Lennart Poettering wrote:
On Thu, 22.07.10 20:40, Lennart Poettering (mzerqung(a)0pointer.de)
wrote:
systemctl stop postfix.service
systemctl disable postfix.service
systemctl enable foobar.service
systemctl try-restart foobar.service ### restart if running
systemctl reload foobar.service ### reload if running
systemctl restart foobar.service ### restart if runnning, start if not
running
I think this scheme is really simply now, as the operations issued are
first class commands, and no switches necessary. Also, the verbs here
are 1:1 from the LSB specs, and hence should offer no surprises to
anybody.
Everybody happy?
MUCH nicer, thanks!