.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "isochron-daemon" "8" "" "" "ISOCHRON" .hy .SH NAME .PP isochron-daemon - Start an isochron program waiting for management commands .SH SYNOPSIS .PP \f[B]isochron\f[R] daemon [\f[I]OPTIONS\f[R]] .SH DESCRIPTION .PP This command starts a long-running process that listens for connections from an isochron orchestrator. The daemon can receive further instructions from the orchestrator. .SH OPTIONS .TP \f[B]\f[CB]-h\f[B]\f[R], \f[B]\f[CB]--help\f[B]\f[R] prints the short help message and exits .TP \f[B]\f[CB]-l\f[B]\f[R], \f[B]\f[CB]--log-file\f[B]\f[R] <\f[B]\f[CB]PATH\f[B]\f[R]> after becoming a daemon, the program can redirect its standard output and standard error to the text file specified here. Optional, defaults to \f[C]/dev/null\f[R]. .TP \f[B]\f[CB]-p\f[B]\f[R], \f[B]\f[CB]--pid-file\f[B]\f[R] <\f[B]\f[CB]PATH\f[B]\f[R]> after spawning a daemon process, the main program overwrites the text file provided here with a single line containing a decimal number representing the process ID of the daemon. Optional, defaults to no PID file being created. .TP \f[B]\f[CB]-P\f[B]\f[R], \f[B]\f[CB]--stats-port\f[B]\f[R] <\f[B]\f[CB]NUMBER\f[B]\f[R]> specify the TCP port on which the daemon program is listening for incoming connections. This socket is used for management and statistics. Optional, defaults to port 5000. .TP \f[B]\f[CB]-S\f[B]\f[R], \f[B]\f[CB]--stats-address\f[B]\f[R] <\f[B]\f[CB]NUMBER\f[B]\f[R]> specify the IP address on which the daemon program is listening for incoming connections. This socket is used for management and statistics. Supports binding to a given network device using the \f[C]address%device\f[R] syntax (example: \f[C]--stats-address ::%vrf0\f[R]). Optional, defaults to ::, with a fallback to 0.0.0.0 if IPv6 is not available. .SH EXAMPLES .PP To start and then stop a daemon and view its log file: .IP .nf \f[C] isochron daemon \[rs] --log-file isochron.log \[rs] --pid-file isochron.pid \[rs] --stats-port 5001 tail -F isochron.log & kill $(pidof tail) kill $(cat isochron.pid) \f[R] .fi .SH AUTHOR .PP isochron was written by Vladimir Oltean .SH SEE ALSO .PP isochron(8) isochron-orchestrate(1) .SH COMMENTS .PP This man page was written using pandoc (http://pandoc.org/) by the same author.