Reputation: 3498
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
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