mirror of
https://github.com/RoboSats/robosats-deploy.git
synced 2025-08-14 05:47:32 +00:00
25 lines
596 B
Plaintext
25 lines
596 B
Plaintext
[supervisord]
|
|
user=root
|
|
childlogdir = /var/log
|
|
logfile = /var/log/supervisord.log
|
|
logfile_maxbytes = 50MB
|
|
logfile_backups = 30
|
|
loglevel = info
|
|
pidfile = /var/supervisord.pid
|
|
umask = 022
|
|
nodaemon = false
|
|
nocleanup = false
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[program:controller]
|
|
command = sh -c "python controller.py && sleep 15"
|
|
process_name = lndg-controller
|
|
directory = /app
|
|
autorestart = true
|
|
redirect_stderr = true
|
|
stdout_logfile = /var/log/lndg-controller.log
|
|
stdout_logfile_maxbytes = 150MB
|
|
stdout_logfile_backups = 15
|