0ac27dcc0d
was accidentially removed
17 lines
331 B
Desktop File
17 lines
331 B
Desktop File
[Unit]
|
|
Description=Openstack Glance Container
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
TimeoutStartSec=0
|
|
Restart=always
|
|
ExecStartPre=-/usr/bin/docker rm -f %n
|
|
ExecStart=/usr/bin/docker run --name %n \
|
|
{{ env_vars | replace('\n', '') }} \
|
|
-p 9292:9292 \
|
|
{{ docker_image }}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|