github.com/bigcommerce/nomad@v0.9.3-bc/terraform/shared/config/nomad.service (about)

     1  [Unit]
     2  Description=Nomad
     3  Documentation=https://nomadproject.io/docs/
     4  Wants=network-online.target
     5  After=network-online.target
     6  
     7  # If you are running Consul, please uncomment following Wants/After configs.
     8  # Assuming your Consul service unit name is "consul"
     9  #Wants=consul.service
    10  #After=consul.service
    11  
    12  [Service]
    13  ExecReload=/bin/kill -HUP $MAINPID
    14  ExecStart=/usr/local/bin/nomad agent -config /etc/nomad.d
    15  KillMode=process
    16  KillSignal=SIGINT
    17  LimitNOFILE=infinity
    18  LimitNPROC=infinity
    19  Restart=on-failure
    20  RestartSec=2
    21  StartLimitBurst=3
    22  StartLimitIntervalSec=10
    23  TasksMax=infinity
    24  
    25  [Install]
    26  WantedBy=multi-user.target