ensure dokku-redeploy runs when docker is stopped then started

This commit is contained in:
Phil Misiowiec
2018-04-28 09:24:12 -07:00
parent 436574a9ad
commit 900e4ac94d

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