Created
December 18, 2014 18:28
-
-
Save brandentimm/57c3bbce3bf53ca18fa6 to your computer and use it in GitHub Desktop.
systemd execstart - arguments with spaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Docker Registry Proxy | |
After=docker.service | |
After=docker-registry.service | |
Requires=docker.service | |
Requires=docker-registry.service | |
[Service] | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill regproxy | |
ExecStartPre=-/usr/bin/docker rm regproxy | |
ExecStart=/usr/bin/docker run -e HTTPD_AUTH_LDAP_BIND_DN='CN=Some User,OU=Users,DC=example,DC=com' regproxy | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment