Skip to content

Having pid file would be nice. #16

@wilkart

Description

@wilkart
         if(GitAutoDeploy.daemon):
             pid = os.fork()
             if(pid != 0):
+                with open('/var/run/GitAutoDeploy.pid', 'w') as f:
+                    f.write(str(pid))
+                    f.close()
                 sys.exit()
             os.setsid()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions