OTRS Daemon Command Line Interface
The OTRS Daemon command line tools let you control the main daemon process (Start / Stop) or query its status. There are also tools to get more detailed information about the other four children daemons.
Main Daemon Tools
To start, stop or query daemon status bin/otrs.Daemon.pl script is used.
Example 4.30. Example to start the OTRS Daemon
shell> cd /opt/otrs/
shell> OTRS_HOME/bin/otrs.Daemon.pl start
Available Options
start - to start the OTRS Daemon process.
stop - to stop the OTRS Daemon process.
status - to query the OTRS Damon process status.
start --debug - to start the OTRS Daemon process in debug mode.
In this mode each daemon reports different messages depending on the actions that are been executed. This mode is not recommended for production environments.
stop --force - to stop the OTRS Daemon process in reducing the wait for children processes to finish.
A forced stop reduces the amount of time the main daemon waits to successful stop the other children processes from 30 seconds (normal) to 5 seconds (forced).
Other Daemon Tools
To list all configured child daemons that the main daemon should start and keep running use the console command: Maint::Daemon::List.
Example 4.31. Example to list all configured daemons
shell> cd /opt/otrs/
shell> bin/otrs.Console.pl Maint::Daemon::List
To list detailed information of all daemons use the console command: Maint::Daemon::Summary.
Example 4.32. Example to a summary of all daemon tasks
shell> cd /opt/otrs/
shell> bin/otrs.Console.pl Maint::Daemon::Summary
Source: OTRS