Source

nashedelo / net-misc / nsq / files / nsq.conf

[program:nsqlookupd]
command=/usr/bin/nsqlookupd
process_name=%(program_name)s
numprocs=1
directory=/var/lib/nsq
user=nsq
stdout_logfile=/var/log/nsq/nsqlookupd.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
redirect_stderr=true
autostart=true
autorestart=true

[program:nsqd]
command=/usr/bin/nsqd --lookupd-tcp-address=localhost:4160
process_name=%(program_name)s
numprocs=1
directory=/var/lib/nsq
user=nsq
stdout_logfile=/var/log/nsq/nsqd.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
redirect_stderr=true
autostart=true
autorestart=true

[program:nsqadmin]
command=/usr/bin/nsqadmin --lookupd-http-address=localhost:4161
process_name=%(program_name)s
numprocs=1
directory=/var/lib/nsq
user=nsq
stdout_logfile=/var/log/nsq/nsqadmin.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
redirect_stderr=true
autostart=true
autorestart=true