Daemon is a Supervisor, that allows its users to control a number of processes on UNIX-like operating systems, when dealing with scripts like Laravel Horizon or similar tasks that require background execution.
When adding a new daemon, you should supply the following information:
|Specify the command that the daemon should execute. For instance, you might input something like php artisan websockets:serve.
|Designate the operating system user responsible for invoking the command. Typically, the virtiz user is the default choice.
|Determine the directory from which the command should run. You can leave this field empty if it's not applicable.
|This setting governs the number of concurrent process instances to maintain.
|Define the number of seconds Supervisor should allow for the daemon to gracefully conclude its operations before resorting to forced termination.
|Indicate the signal to be used for terminating the program when a stop request is initiated.