![]() ![]() script. If the check will be passed, the newĬonfig will be loaded by reinitializing monit. Simple Bash Script that creates a monit config script from your PM2 Processes. To be configured to monit and add the additional configuration based onĪfter I create a new config file based on the template I use the syntaxĬheck to check the new config file. Logs pm2 logs -raw Display all processes logs in streaming pm2 flush Empty all log files. Print process list in beautified JSON pm2 describe 0 Display all information about a specific process pm2 monit Monitor all processes. Global configuration settings to uncomment and modify Global section. You can also create a configuration file, called Ecosystem File, to manage multiple applications. I generally use nano if I’m in a shell session, but a lot of the time I like to use SFTP via something like FileZilla, so I can use my usual editor on Windows (). check process apache with pidfile /opt/apachemisc/logs/httpd.pid group. The monitrc file is where the magic starts. ![]() I do monitoring some application server folder to find new application In some cases init scripts for apache and apache-ssl are separated, e.g. > configuration automatically when it changes. > I'm working on a project that would like the ability to re-load the monit Are you interresting in doing an config reload only. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |