Docs

Debian 7

UNsupported Version

Debian 7 is a custom build that comes with zero warranty of working.

Debian 7 is a deprecated OS out of official support.

Installation

  1. Download and install the custom build
apt-get install https://packages.outlyer.com/unstable/debian7/outlyer-agent_1.4.15-1_amd64.deb 
dpkg -i outlyer-agent_1.4.15-1_amd64.deb

  1. Install ‘supervisord’ for process supervision
apt-get install supervisor
  1. Create the following supervisor file

/etc/supervisor/conf.d/outlyer-agent.conf

[program:outlyer-agent]
command=/opt/outlyer/embedded/bin/python3 /opt/outlyer/agent/agent.py --config /etc/outlyer/agent.yaml
process_name=%(program_name)s
numprocs=1
numprocs_start=0
priority=999
autostart=true
autorestart=true
startsecs=1
startretries=3
exitcodes=0,2
stopsignal=TERM
stopwaitsecs=10
stopasgroup=true
user=outlyer
redirect_stderr=false
stdout_logfile=/var/log/outlyer/agent.log
stdout_logfile_maxbytes=500MB
stdout_logfile_backups=20
stdout_capture_maxbytes=0
stdout_events_enabled=false
stderr_logfile=/var/log/outlyer/agent.log
stderr_logfile_maxbytes=500MB
stderr_logfile_backups=20
stderr_capture_maxbytes=0
stderr_events_enabled=false
directory=/opt/outlyer/
serverurl=AUTO
  1. (re)Start supervisord
service supervisor restart
  1. profit.

Logs and process supervison

Log files are located at:

/var/log/outlyer/agent.log

see http://supervisord.org/running.html for information on supervisor