container-startup.service 233 B

123456789101112
  1. [Unit]
  2. Description=Startup docker containers
  3. Requires=docker.service
  4. After=docker.service
  5. [Service]
  6. Type=oneshot
  7. WorkingDirectory=/opt/docker/startup
  8. ExecStart=/opt/docker/startup/startup.sh up
  9. [Install]
  10. WantedBy=multi-user.target