Github-Auto-Deploy icon indicating copy to clipboard operation
Github-Auto-Deploy copied to clipboard

Having pid file would be nice.

Open wilkart opened this issue 12 years ago • 2 comments
trafficstars

         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()

wilkart avatar Jul 14 '13 11:07 wilkart

how to work on windows?

rinetd avatar Jul 29 '16 08:07 rinetd

good point, I have no experience with python on windows

wilkart avatar Jul 30 '16 18:07 wilkart