ensure dokku-redeploy runs when docker is stopped then started
This commit is contained in:
@@ -39,10 +39,10 @@ User=dokku
|
|||||||
ExecStart=$dokku_path ps:restore
|
ExecStart=$dokku_path ps:restore
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=docker.service
|
||||||
EOF
|
EOF
|
||||||
if command -v systemctl &>/dev/null; then
|
if command -v systemctl &>/dev/null; then
|
||||||
systemctl enable dokku-redeploy
|
systemctl reenable dokku-redeploy
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user