mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +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
|