Let's continue this here instead of the tutorial ;-)
I apologize for saying that these two exit codes for LSB scripts don't get
mapped to stopped; the code does do that. I'd argue it's wrong though. Here's
what the LSB says:
# 0 - service up and running
# 1 - service dead, but /var/run/ pid file exists
# 2 - service dead, but /var/lock/ lock file exists
# 3 - service not running (unused)
# 4 - service status unknown :-(
1 & 2 thus mean "something left around", which ought to imply we should
clean it up as failed; clearly, 1 & 2 are not "cleanly stopped".
Sincerely,
Lars
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/