Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. # /etc/systemd/system/docker-compose-jesse.service
  2.  
  3. [Unit]
  4. Description=Docker Compose Application Jesse Service
  5. Requires=docker.service
  6. After=docker.service
  7.  
  8. [Service]
  9. WorkingDirectory=/opt/swarm
  10. ExecStart=/usr/local/bin/docker-compose up -d
  11. ExecStop=/usr/local/bin/docker-compose down
  12. TimeoutStartSec=0
  13. Restart=on-failure
  14. StartLimitIntervalSec=60
  15. StartLimitBurst=3
  16.  
  17. [Install]
  18. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement