homer - Launch daemons
homer [-q] [-p file] [[-o file] [-e file] | -O file] <command>
Launch the command <command> as a daemon. All options must be given before the command, anything given after it will be passed to the command itself.
-e fileRedirect stderr to a file. If it already exists, new data will be
appended to its content.
-hPrint the help and exit
-o fileRedirect stdout to a file. See also -e.
-O fileRedirect both stdout and stderr to the same file. This is equivalent to
using -e and -o with the same file.
-p fileWrite the PID of the daemon to a file.
-qQuiet mode. By default, a success message with the PID of the new process is printed. This option removes it but doesn't suppress possible error messages.
-vPrint the version and exit
homer -O myserver.log myserver --my-option my-arg
homer -q -p mycmd.pid -o mycmd.out -e mycmd.err mycmd
Written by Baptiste Fontaine <b@ptistefontaine.fr>.
Bugs should be reported at https://github.com/bfontaine/homer/issues.
The projet homepage is at https://github.com/bfontaine/homer.