Skip to content

Latest commit

 

History

History

init

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

init

The init folder contains system init (systemd, upstart, sysv) and process manager/supervisor (runit, supervisord) configs for multiple platforms.

Conventions

On unix systems agent configurations shall be kept under /etc/drago and data under /var/lib/drago/. These directories are assumed to exist, and the Drago binary is assumed to be located at /usr/bin/drago.

Agent configuration

The following configuration files are provided as examples:

* `demo/server.yml`
* `demo/client.yml`

Place one of these under /etc/drago.d depending on the host's role. You should use server.yml to configure a host as a server or client.yml to configure a host as a client.

systemd

On systems using systemd, the basic unit file under systemd/drago.service starts and stops the drago agent. Place it under /etc/systemd/system/drago.service.

You can control Drago with systemctl start|stop|restart drago.