Merge pull request #3177 from HealthcareBlocks/redeploy-systemd-always-restart

ensure dokku-redeploy runs when docker is stopped then started
This commit is contained in:
Jose Diaz-Gonzalez
2018-04-28 15:06:59 -04:00
committed by GitHub

View File

@@ -39,10 +39,10 @@ User=dokku
ExecStart=$dokku_path ps:restore
[Install]
WantedBy=multi-user.target
WantedBy=docker.service
EOF
if command -v systemctl &>/dev/null; then
systemctl enable dokku-redeploy
systemctl reenable dokku-redeploy
fi
fi