Skip to content

Instantly share code, notes, and snippets.

@arkenous
Created June 18, 2016 11:08
Show Gist options
  • Save arkenous/ce8106d8cd7a2b11d2dddf948c6798fd to your computer and use it in GitHub Desktop.
Save arkenous/ce8106d8cd7a2b11d2dddf948c6798fd to your computer and use it in GitHub Desktop.
systemd service script for ldap-testserver, Docker image of LDAP test server
[Unit]
Description=LDAP authentication test service
Requires=docker.service
After=docker.service
[Service]
Type=simple
ExecStart=/usr/bin/docker run --rm --name container-ldap-testserver -p 50389:389 ldap-testserver
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment