Confd is no longer used
This commit is contained in:
parent
c4d32cf8c5
commit
d2654b1cff
1 changed files with 0 additions and 30 deletions
|
@ -1,30 +0,0 @@
|
|||
[Unit]
|
||||
Description=%p
|
||||
|
||||
# Requirements
|
||||
Requires=docker.service
|
||||
Requires=etcd.service
|
||||
|
||||
# Dependency ordering
|
||||
After=docker.service
|
||||
After=etcd.service
|
||||
Before=haproxy.service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=20
|
||||
TimeoutStartSec=0
|
||||
ExecStartPre=-/usr/bin/docker kill %p
|
||||
ExecStartPre=-/usr/bin/docker rm %p
|
||||
ExecStart=/usr/bin/docker run \
|
||||
--rm \
|
||||
--name %p \
|
||||
-v /data/runtime/haproxy/:/etc/haproxy/ \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
indiepaas/confd
|
||||
ExecReload=/usr/bin/docker restart %p
|
||||
ExecStop=/usr/bin/docker stop %p
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in a new issue