From 37d264f04ca0e50357ba223db9e4a868cab77770 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 10 Jul 2013 21:14:35 +0200 Subject: The file which contains the pid of the pyaggr3g470t process is now deleted after a service stop. --- source/pyAggr3g470r | 1 + 1 file changed, 1 insertion(+) (limited to 'source') diff --git a/source/pyAggr3g470r b/source/pyAggr3g470r index 1c972d06..23f13cbd 100755 --- a/source/pyAggr3g470r +++ b/source/pyAggr3g470r @@ -116,6 +116,7 @@ def stop(): except OSError as e: print(SERVICE + " unsuccessfully stopped") retval = False + os.unlink(os.path.join(PATH,"var", SERVICE + ".pid")) print(SERVICE) rmpid(processname=SERVICE) return retval -- cgit