Stop any running dokku-installer processes
They will cease to function regardless of whether the package has been purged or not
This commit is contained in:
1 parent
73b3c4af40
commit
a2f0962b76
1 file changed
+4
Vendored
+4
@@ -5,6 +5,10 @@ readonly DOKKU_ROOT="${DOKKU_ROOT:-/home/dokku}"
|
|||||||
readonly DOKKU_LIB_ROOT="${DOKKU_LIB_PATH:-/var/lib/dokku}"
|
readonly DOKKU_LIB_ROOT="${DOKKU_LIB_PATH:-/var/lib/dokku}"
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
if [[ -f /etc/systemd/system/dokku-installer.conf ]] || [[ -f /etc/init/dokku-installer.conf ]]; then
|
||||||
|
service dokku-installer stop || true
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f /etc/init/dokku-installer.conf
|
rm -f /etc/init/dokku-installer.conf
|
||||||
rm -f /etc/init/dokku-redeploy.conf
|
rm -f /etc/init/dokku-redeploy.conf
|
||||||
rm -f /etc/systemd/system/dokku-installer.conf
|
rm -f /etc/systemd/system/dokku-installer.conf
|
||||||
|
|||||||
Reference in new issue
Block a user