geekmaster / eyefiserver2

Automatically exported from code.google.com/p/eyefiserver2
0 stars 0 forks source link

Add command-line parsing #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'd like to add better command-line parsing, specifically a switch to run in 
daemon mode. If it is NOT in daemon mode, it will just run as a normal process 
and then the user can run at the command-line to debug, or run as daemon via 
some other tool that does the daemonization.

Original issue reported on code.google.com by davidgrant on 22 May 2012 at 3:56

GoogleCodeExporter commented 8 years ago
If you start your script like

   eyefiserver.py instance confFile logFile

you will start the server as instance.
It is already implemented in #2

Original comment by vilius.s...@gmail.com on 22 May 2012 at 4:00

GoogleCodeExporter commented 8 years ago
Ok, sorry I still haven't looked at that code in detail. That's great!

Original comment by davidgrant on 22 May 2012 at 4:21