Current time: 11-01-2024, 12:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
Daemon Status Codes?
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Daemon Status Codes?
Found this in the daemon:
Code:
case "$status" in
                0)
                        log_success_msg "$NAME running"
                ;;
                1)
                        log_warning_msg "$NAME not running (but pid file found)"
                ;;
                2)
                        log_warning_msg "$NAME not running (but lock file found)"
                ;;
                3)
                        log_warning_msg "$NAME not running"
                ;;
                4|*)
                        log_failure_msg "Service status is unknown"
                        exit 1
                ;;
        esac
IP-Tables are set with the ispcp_networkmanager only.

Greez BeNe
04-14-2009 04:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Daemon Status Codes? - Wachert - 04-12-2009, 09:36 PM
RE: Daemon Status Codes? - BeNe - 04-14-2009 04:24 PM
RE: Daemon Status Codes? - Wachert - 04-14-2009, 09:03 PM
RE: Daemon Status Codes? - joximu - 04-14-2009, 09:53 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)