blob: 22cc5699ffd2e44398c807021af02f42d097d884 [file] [log] [blame]
[Unit]
Description=DCOS: Serve the local universe (HTTP)
After=docker.service
[Service]
Restart=always
StartLimitInterval=0
RestartSec=15
TimeoutStartSec=120
TimeoutStopSec=15
ExecStartPre=-/usr/bin/docker kill %n
ExecStartPre=-/usr/bin/docker rm %n
ExecStart=/usr/bin/docker run --rm --name %n -p 8082:80 mesosphere/universe nginx -g "daemon off;"
[Install]
WantedBy=multi-user.target