Actually stop the dokku-installer service

[ci skip]
This commit is contained in:
Jose Diaz-Gonzalez
2016-08-26 18:48:07 -04:00
parent 600d872b76
commit 8b90a2c453

View File

@@ -155,7 +155,7 @@ class DeleteInstallerThread(object):
except:
pass
command = "rm -f /etc/init/dokku-installer.conf /etc/systemd/system/dokku-installer.service && stop dokku-installer"
command = "rm -f /etc/init/dokku-installer.conf /etc/systemd/system/dokku-installer.service && (stop dokku-installer || systemctl stop dokku-installer.service)"
try:
subprocess.call(command, shell=True)
except: