Created
November 24, 2016 14:02
-
-
Save jbfarez/9e1f462dcb851b4f4406d35761cca774 to your computer and use it in GitHub Desktop.
3d2e6bded046ca2e3f906f04235b279b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=consul agent | |
Requires=network.target | |
After=network.target auditd.service | |
[Service] | |
EnvironmentFile=-/etc/default/consul | |
Restart=on-failure | |
ExecStart=/usr/local/bin/consul agent $CONSUL_FLAGS -config-dir=/etc/consul | |
ExecReload=/bin/kill -HUP $MAINPID | |
KillSignal=SIGINT | |
[Install] | |
WantedBy=multi-user.target | |
Alias=consul-agent.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment