Remove pidfile in rset

This commit is contained in:
nolash
2021-04-20 07:12:19 +02:00
parent 4c4cf933ba
commit 550ab47689

View File

@@ -50,4 +50,5 @@ def set(error=0, namespace=default_namespace, rundir='/run'):
def reset(namespace=default_namespace, rundir='/run'):
app_rundir = os.path.join(rundir, namespace)
os.unlink(os.path.join(app_rundir, 'pid'))
os.unlink(os.path.join(app_rundir, 'error'))