You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
300 B

6 years ago
  1. [Unit]
  2. Description=Consul Server
  3. After=network.target
  4. [Service]
  5. User=root
  6. Group=root
  7. Environment="GOMAXPROCS=2"
  8. ExecStart=/usr/local/bin/consul agent -config-dir /etc/consul.d/
  9. ExecReload=/bin/kill -9 $MAINPID
  10. KillSignal=SIGINT
  11. Restart=on-failure
  12. RestartSec=1
  13. [Install]
  14. WantedBy=multi-user.target

Powered by TurnKey Linux.