logsol / Github-Auto-Deploy

a server that allows you to automatically deploy the latest version of your github project at each git push
http://logsol.github.com/Github-Auto-Deploy/
MIT License
576 stars 187 forks source link

Having pid file would be nice. #16

Open wilkart opened 11 years ago

wilkart commented 11 years ago
         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()
rinetd commented 8 years ago

how to work on windows?

wilkart commented 8 years ago

good point, I have no experience with python on windows