2 The pronoun 'I' should be capitalized.
source | link
#!/bin/sh
. /lib/lsb/init-functions
log_daemon_msg "this is a daemon s message"

On the shell console, it prints,

this is a daemon s message

A daemon process doesn't have stdout at all. So why doesdo daemon startup scripts write to stdout.? Are they not supposed to use syslog file? How can iI redirect the init logs to a system log file so that iI can debug boot time issues.? I am using ubuntuUbuntu 14.04.

#!/bin/sh
. /lib/lsb/init-functions
log_daemon_msg "this is a daemon s message"

On the shell console, it prints,

this is a daemon s message

A daemon process doesn't have stdout at all. So why does daemon startup scripts write to stdout. Are they not supposed to use syslog file? How can i redirect the init logs to a system log file so that i debug boot time issues. I am using ubuntu 14.04.

#!/bin/sh
. /lib/lsb/init-functions
log_daemon_msg "this is a daemon s message"

On the shell console, it prints,

this is a daemon s message

A daemon process doesn't have stdout at all. So why do daemon startup scripts write to stdout? Are they not supposed to use syslog file? How can I redirect the init logs to a system log file so that I can debug boot time issues? I am using Ubuntu 14.04.

    Bumped by Community user
    Bumped by Community user
    Bumped by Community user
1
source | link

lsb - log_daemon_msg echoes messages in shell console!

#!/bin/sh
. /lib/lsb/init-functions
log_daemon_msg "this is a daemon s message"

On the shell console, it prints,

this is a daemon s message

A daemon process doesn't have stdout at all. So why does daemon startup scripts write to stdout. Are they not supposed to use syslog file? How can i redirect the init logs to a system log file so that i debug boot time issues. I am using ubuntu 14.04.