Merge pull request #2390 from dokku/stop-dokku-installer

Actually stop the dokku-installer service
This commit is contained in:
Jose Diaz-Gonzalez
2016-08-26 18:48:38 -04:00
committed by GitHub

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: