Created
July 24, 2019 08:30
-
-
Save krystofbe/abe6227cf363e5873025d3053c92e271 to your computer and use it in GitHub Desktop.
/etc/systemd/system/docker-compose-app.service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
WorkingDirectory=/home/ubuntu/git/matomo-blackbox | |
ExecStart=/usr/bin/docker-compose up -d | |
ExecStop=/usr/bin/docker-compose down | |
TimeoutStartSec=0 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment