2. Configuration

OliveTin is controlled by a config.yaml file. On startup, it looks for this file in the following locations;

  1. The current working directory (./)

  2. /config/ - Mostly used for containers

  3. /etc/OliveTin/ - this is the recommended directory on Linux for your config.yaml.

The most simple config.yaml would be something like this;

The most simple config.yaml file.
actions:
  - title: "Hello world!"
    shell: echo 'Hello World!'

It doens’t really get more complicated than that. You can of course add more actions, and customize more, but the syntax otherwise extremely simple.

For building up from here, look at the following resources;