A new user interface for you! Read more...

File consul.service of Package consul

[Unit]
Description=Consul
After=syslog.target
After=network.target

[Service]
Type=simple

User=consul
Group=consul
WorkingDirectory=/var/lib/consul

EnvironmentFile=-/etc/sysconfig/consul
ExecStart=/usr/bin/consul agent ${CONSUL_OPTS}

KillSignal=SIGINT
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target