BollMose
BollMose

Reputation: 3498

where is daemon command in rhel?

I write a service script following service script but I found there no daemon command, and I can't google how to install it

Upvotes: 2

Views: 8056

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798536

From /usr/share/doc/initscripts-*/sysvinitfiles:

# Source function library.
. /etc/init.d/functions

   ...

Functions in /etc/init.d/functions
=======================================

daemon  [ --check <name> ] [ --user <username>] 
        [+/-nicelevel] program [arguments] [&]
 ...

Upvotes: 5

Related Questions