mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
17 lines
350 B
SYSTEMD
17 lines
350 B
SYSTEMD
|
[Unit]
|
||
|
Description=Consul Agent
|
||
|
Requires=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
User=consul
|
||
|
Group=consul
|
||
|
EnvironmentFile=-/etc/default/consul
|
||
|
Restart=on-failure
|
||
|
ExecStart=/usr/bin/consul agent $CONSUL_FLAGS -config-dir=/etc/consul.d
|
||
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||
|
KillSignal=SIGINT
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|