17 lines
336 B
Desktop File
17 lines
336 B
Desktop File
[Unit]
|
|
Description=Consul Service Discovery Agent
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
User=consul
|
|
Group=consul
|
|
RestartSec=3
|
|
StateDirectory=consul
|
|
ExecStart=/usr/local/bin/consul agent -config-dir /etc/consul.d/
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillSignal=SIGINT
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|