This commit is contained in:
Steven Foerster
2020-09-28 08:27:56 -04:00
parent 9fc5f044dd
commit 61038ce230
3 changed files with 3 additions and 23 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ PermissionsStartOnly=true
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/mattermost.yml down
# Start container when unit is started
ExecStart=/usr/local/bin/docker-compose -f /opt/mistborn/extra/mattermost.yml up --build
ExecStart=/usr/local/bin/docker-compose --env-file /opt/mistborn/.envs/.production/.mattermost -f /opt/mistborn/extra/mattermost.yml up --build
# Stop container when unit is stopped
ExecStop=/usr/local/bin/docker-compose -f /opt/mistborn/extra/mattermost.yml down
# Post stop