Brief
Surmise about supervisor
What is Supervisor?
make any modules a daemon
Environment
CentOS
How to install
# add epel repository
sudo yum -y install epel-release
# install
sudo yum -y install supervisor
# start supervisor
sudo systemctl start supervisord
How to configure
# make a module a daemon
sudo supervisorctl start <module name>
Create a configuration file under /etc/supervisor.d/
e.g.
/etc/supervisor.d/xxx.ini
# xxx is a module name which is registered
cat /etc/supervisor.d/xxx.ini
[program:xxx]
command=xxx
user=***
autostart=false
autorestart=true
log_stdout=true
log_stderr=true
redirect_stderr=true
stdout_logfile_maxbytes=**MB
stdout_logfile_backups=**
stdout_logfile=***
This blog moved to medium->https://medium.com/@cocoamaemae
Regarding TIPS about IT technologies or OSS which I created.
Wednesday, January 18, 2017
Tuesday, January 17, 2017
How to install dein
What dein?
The tool to install vim plugin
How to install dein
OS: Linux(Debian, Ubuntu, REHL, CentOS or etc)
# run the below
# run the below
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
sh ./installer.sh ~/.dein
sh ./installer.sh ~/.dein
Continued to the blow.
Wednesday, January 11, 2017
How to use rpm
Basic syntax
https://gist.github.com/cocoa-maemae/571240f0ea22abe40e203658dc7c28d8
rpm <options> <package name>
options
Moved to Gist.https://gist.github.com/cocoa-maemae/571240f0ea22abe40e203658dc7c28d8
Subscribe to:
Posts (Atom)
Front End Development Tools
TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...
-
What is partitioning? The structure which divides one table data to multiple data. When not using partitioning, one table data is aggrega...
-
It is general to create multiple branches and manage them parallel when we do the development by using git. Multiple branches should be mer...
-
What's URL encode? URL can be sent only ASCII characters over internet. When doing http request with query parameters, query parameter...