github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/dist/systemd/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  # When using Nomad with Consul it is not necessary to start Consul first. These
     8  # lines start Consul before Nomad as an optimization to avoid Nomad logging
     9  # that Consul is unavailable at startup.
    10  #Wants=consul.service
    11  #After=consul.service
    12  
    13  [Service]
    14  ExecReload=/bin/kill -HUP $MAINPID
    15  ExecStart=/usr/local/bin/nomad agent -config /etc/nomad.d
    16  KillMode=process
    17  KillSignal=SIGINT
    18  LimitNOFILE=infinity
    19  LimitNPROC=infinity
    20  Restart=on-failure
    21  RestartSec=2
    22  StartLimitBurst=3
    23  StartLimitIntervalSec=10
    24  TasksMax=infinity
    25  
    26  [Install]
    27  WantedBy=multi-user.target