diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-07-10 21:14:35 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-07-10 21:14:35 +0200 |
commit | 37d264f04ca0e50357ba223db9e4a868cab77770 (patch) | |
tree | cab1356368fef8799321321b0532fb4463c777dd /source/pyAggr3g470r | |
parent | attrgetter is not used (diff) | |
download | newspipe-37d264f04ca0e50357ba223db9e4a868cab77770.tar.gz newspipe-37d264f04ca0e50357ba223db9e4a868cab77770.tar.bz2 newspipe-37d264f04ca0e50357ba223db9e4a868cab77770.zip |
The file which contains the pid of the pyaggr3g470t process is now deleted after a service stop.
Diffstat (limited to 'source/pyAggr3g470r')
-rwxr-xr-x | source/pyAggr3g470r | 1 |
1 files changed, 1 insertions, 0 deletions
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 |