From 8b90a2c45382d3fcf9884213c6f6d2704b8ecb3d Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 26 Aug 2016 18:48:07 -0400 Subject: [PATCH] Actually stop the dokku-installer service [ci skip] --- contrib/dokku-installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/dokku-installer.py b/contrib/dokku-installer.py index 0e08307e0..302e39345 100755 --- a/contrib/dokku-installer.py +++ b/contrib/dokku-installer.py @@ -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: