conmand8
Conman daemon
Usage
conmand [OPTION] ...
Overview
conmand is the daemon responsible for managing consoles defined by its configuration file as well as listening for connections from clients.
Options
-
-c file -
Specify a configuration file, overriding the default location [/etc/conman.conf].
-
-F -
Run the daemon in the foreground.
-
-h -
Display a summary of the command-line options.
-
-k -
Send a SIGTERM to the
conmandprocess associated with the specified configuration, thereby killing the daemon. Returns 0 if the daemon was successfully signaled; otherwise, returns 1.
-
-L -
Display license information.
-
-p port -
Specify the port on which
conmandwill listen for clients, overriding both the default port [7890] and the port specified in the configuration file.
-
-P file -
Specify the PID file for storing the daemon's PID, overriding the "
serverpidfile" directive in the configuration file.
-
-q -
Displays the PID of the
conmandprocess associated with the specified configuration if it appears active. Returns 0 if the configuration appears active; otherwise, returns 1.
-
-r -
Send a SIGHUP to the
conmandprocess associated with the specified configuration, thereby re-opening both that daemon's log file and individual console log files. Returns 0 if the daemon was successfully signaled; otherwise, returns 1.
-
-v -
Enable verbose mode.
-
-V -
Display version information.
-
-z -
Truncate both the daemon's log file and individual console log files at start-up.
Signals
- SIGHUP
-
Close and re-open both the daemon's log file and the individual console log files. Conversion specifiers within filenames will be re-evaluated. This is useful for
logrotateconfigurations.
- SIGTERM
-
Terminate the daemon.
Security
Connections to the server are not authenticated, and communications between client and server are not encrypted. Until this is addressed in a future release, the recommendation is to bind the server's listen socket to the loopback address (by specifying "server loopback=on" in conman.conf) and restrict access to the server host.
Notes
Log messages are sent to standard-error until after the configuration file has been read, at which time future messages are discarded unless either the logfile or syslog keyword has been specified (see conman.conf(5)).
If the configuration file is modified while the daemon is running and a pidfile was not originally specified, the '-k' and '-r' options may be unable to identify the daemon process; consequently, the appropriate signal may need to be sent to the daemon manually.
The number of consoles that can be simultaneously managed is limited by the maximum number of file descriptors a process can have open. The daemon sets its "nofile" soft limit to the maximum/hard limit. If you are encountering "too many open files" errors, you may need to increase the "nofile" hard limit.
Releases
5 releases since Debian 9 (Stretch); the text changed 1 time.
-P since Debian 13 (Trixie).