Skip to content
Snippets Groups Projects
Commit bce7119c authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix

parent 904f383c
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ if __name__ == '__main__':
else:
from daemonize import Daemonize
process_name = os.path.basename(__file__)
pid_file = os.path.join("pids", __file__ + ".pid")
pid_file = os.path.join("pids", process_name + ".pid")
print(process_name, pid_file)
daemon = Daemonize(app=process_name, pid=pid_file, action=main)
daemon.start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment