github.com/thomasobenaus/nomad@v0.11.1/dist/README.md (about)

     1  # Dist
     2  
     3  The `dist` folder contains sample configs for various platforms.
     4  
     5  ## Conventions
     6  
     7  On unixes we will place agent configs under `/etc/nomad.d` and store
     8  data under `/var/lib/nomad/`. You will need to create both of these
     9  directories. We assume that `nomad` is installed to
    10  `/usr/local/bin/nomad`.
    11  
    12  ## Agent Configs
    13  
    14  The following example configuration files are provided:
    15  
    16  - `server.hcl`
    17  - `client.hcl`
    18  
    19  Place one of these under `/etc/nomad.d` depending on the node's
    20  role. You should use `server.hcl` to configure a node as a server
    21  (which is responsible for scheduling) or `client.hcl` to configure a
    22  node as a client (which is responsible for running workloads).
    23  
    24  Read <https://nomadproject.io/docs/agent/configuration/index.html> to
    25  learn which options are available and how to configure them.
    26  
    27  ## Systemd
    28  
    29  On systems using systemd the basic systemd unit file under
    30  `systemd/nomad.service` starts and stops the nomad agent. Place it
    31  under `/etc/systemd/system/nomad.service`.
    32  
    33  You can control Nomad with `systemctl start|stop|restart nomad`.
    34  
    35  ## Upstart
    36  
    37  On systems using upstart the basic upstart file under
    38  `upstart/nomad.conf` starts and stops the nomad agent. Place it under
    39  `/etc/init/nomad.conf`.
    40  
    41  You can control Nomad with `start|stop|restart nomad`.