Remove pidfile in rset
This commit is contained in:
parent
4c4cf933ba
commit
550ab47689
@ -50,4 +50,5 @@ def set(error=0, namespace=default_namespace, rundir='/run'):
|
|||||||
|
|
||||||
def reset(namespace=default_namespace, rundir='/run'):
|
def reset(namespace=default_namespace, rundir='/run'):
|
||||||
app_rundir = os.path.join(rundir, namespace)
|
app_rundir = os.path.join(rundir, namespace)
|
||||||
|
os.unlink(os.path.join(app_rundir, 'pid'))
|
||||||
os.unlink(os.path.join(app_rundir, 'error'))
|
os.unlink(os.path.join(app_rundir, 'error'))
|
||||||
|
Loading…
Reference in New Issue
Block a user