dex/static/authd-overlord.service.tmpl

10 lines
279 B
Cheetah
Raw Normal View History

2015-08-18 05:57:27 +05:30
[Service]
ExecStartPre=-/usr/bin/docker rm %n
ExecStart=/usr/bin/docker run \
--name %n \
--env DEX_OVERLORD_DB_URL=${DEX_OVERLORD_DB_URL} \
--env DEX_OVERLORD_KEY_SECRET=${DEX_OVERLORD_KEY_SECRET} \
quay.io/coreos/dex /opt/dex/bin/dex-overlord
ExecStop=/usr/bin/docker kill %n