diff --git a/plugins/pgadmin/index.py b/plugins/pgadmin/index.py index 40f6f9729..186311e5b 100755 --- a/plugins/pgadmin/index.py +++ b/plugins/pgadmin/index.py @@ -250,6 +250,11 @@ def start(): def stop(): pgOp('stop') + + conf = getConf() + if os.path.exists(conf): + os.remove(conf) + delPort() mw.restartWeb() return 'ok'