[Unit]
Description=docker-engine app ${name}
After=network.target
Requires=${' '.join(sorted(requires))}

[Service]
WorkingDirectory=/var/opt/docker-engine/${name}/
ExecStart=/opt/docker-engine/${name} start
ExecStop=/opt/docker-engine/${name} stop
Type=simple
RemainAfterExit=true

[Install]
WantedBy=multi-user.target