Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Using Supervisor

Michal Sedlák edited this page Feb 26, 2015 · 1 revision

Supervisor

Supervisor is a tool for managing multiple application and ensuring they are running. Similar to OpenRC or systemd from Unix world.

We need to run:

  • Shibboleth SP daemon shibd
  • and Shibboleth FastCGI authorizer and responder

Config file from Lindat server:

/etc/supervisor/conf.d/shib_fastcgi.conf

[program:shibboleth]
command=/opt/shibboleth-sp-fastcgi/sbin/shibd -F
stdout_logfile=/var/log/supervisor/shibd.log
stderr_logfile=/var/log/supervisor/shibd.error.log

[fcgi-program:shibauthorizer]
command=/opt/shibboleth-sp-fastcgi/lib/shibboleth/shibauthorizer
socket=unix:///opt/shibboleth-sp-fastcgi/shibauthorizer.sock
socket_owner=www-data:www-data
socket_mode=0660
user=www-data
stdout_logfile=/var/log/supervisor/shibauthorizer.log
stderr_logfile=/var/log/supervisor/shibauthorizer.error.log

[fcgi-program:shibresponder]
command=/opt/shibboleth-sp-fastcgi/lib/shibboleth/shibresponder
socket=unix:///opt/shibboleth-sp-fastcgi/shibresponder.sock
socket_owner=www-data:www-data
socket_mode=0660
user=www-data
stdout_logfile=/var/log/supervisor/shibresponder.log
stderr_logfile=/var/log/supervisor/shibresponder.error.log

Clone this wiki locally