isochron-daemon8
Start an isochron program waiting for management commands
Usage
isochron daemon
[OPTIONS]
Overview
This command starts a long-running process that listens for connections from an isochron orchestrator. The daemon can receive further instructions from the orchestrator.
Options
-
-h,--help -
prints the short help message and exits
-
-l,--log-file<PATH> -
after becoming a daemon, the program can redirect its standard output and standard error to the text file specified here. Optional, defaults to
/dev/null.
-
-p,--pid-file<PATH> -
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.
-
-P,--stats-port<NUMBER> -
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.
-
-S,--stats-address<NUMBER> -
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
address%devicesyntax (example:--stats-address ::%vrf0). Optional, defaults to ::, with a fallback to 0.0.0.0 if IPv6 is not available.
Examples
To start and then stop a daemon and view its log file:
-
isochron daemon \ --log-file isochron.log \ --pid-file isochron.pid \ --stats-port 5001 tail -F isochron.log & kill $(pidof tail) kill $(cat isochron.pid)
Comments
This man page was written using pandoc ⟨http://pandoc.org/⟩\c by the same author.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.