Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching to supervised #58

Closed
mikesplain opened this issue Sep 4, 2015 · 6 comments
Closed

Consider switching to supervised #58

mikesplain opened this issue Sep 4, 2015 · 6 comments

Comments

@mikesplain
Copy link
Owner

Should considering using supervised to run services rather than silly bash files...

@aphillipo
Copy link

Here is a supervisord config I found somewhere...

[program:openvassd]
autostart=true
command=/usr/local/sbin/openvassd -f
stdout_logfile = /var/log/%(program_name)s.log
stderr_logfile = /var/log/%(program_name)s.log
autorestart=true
startsecs=0

[program:openvasmd]
autostart=true
command=/usr/local/sbin/openvasmd -f
stdout_logfile = /var/log/%(program_name)s.log
stderr_logfile = /var/log/%(program_name)s.log
autorestart=true
startsecs=0

[program:gsad]
autostart=true
command=/usr/local/sbin/gsad -f
stdout_logfile = /var/log/%(program_name)s.log
stderr_logfile = /var/log/%(program_name)s.log
autorestart=true
startsecs=0

[program:redis-server]
autostart=true
command=/usr/bin/redis-server /etc/redis/redis.conf
stdout_logfile = /var/log/%(program_name)s.log
stderr_logfile = /var/log/%(program_name)s.log
autorestart=true
startsecs=0

@mikesplain
Copy link
Owner Author

@aphillipo Thanks!

@berney
Copy link

berney commented Jan 14, 2017

I hear S6 is all the rage for containers, but then so is Alpine.

@mikesplain
Copy link
Owner Author

For now we'll use built in upstart.

@aphillipo
Copy link

Even better 👍🏻

@mikesplain
Copy link
Owner Author

And by upstart I meant systemd, as that's now the default in 16.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants