Skip to content

Instantly share code, notes, and snippets.

@nullstyle
Created March 27, 2014 20:15
Show Gist options
  • Save nullstyle/9817489 to your computer and use it in GitHub Desktop.
Save nullstyle/9817489 to your computer and use it in GitHub Desktop.
[Service]
ExecStart=/usr/bin/docker run --name=webs.0.service ubuntu /bin/bash -c 'while true; do echo Hello World; sleep 1; done'
ExecStop=/usr/bin/docker kill webs.0.service
[Unit]
After=docker.service
Description=aedile: webs.0.service
Requires=docker.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment