Created
April 18, 2014 07:03
-
-
Save mbrevoort/11028515 to your computer and use it in GitHub Desktop.
/etc/init/consul.conf with appuser
This file contains hidden or 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
# consul - agent instance | |
# | |
description "consul agent" | |
start on networking | |
stop on runlevel [06] | |
# Respawn it if the process exits | |
respawn | |
setuid appuser | |
setgid appuser | |
chdir /home/appuser | |
console log | |
exec /usr/local/bin/consul agent -server -data-dir /home/appuser/consul-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment