jim-easterbrook / pywws

Python software for USB Wireless WeatherStations
https://pywws.readthedocs.io/
GNU General Public License v2.0
204 stars 63 forks source link

Add daemon support #13

Closed DanielO closed 10 years ago

DanielO commented 11 years ago

Use daemon to run LiveLog in the background if given a pidfile.

jim-easterbrook commented 11 years ago

A couple of questions: 1/ What compelling advantage does this offer compared with a simple startup script as suggested in the documentation? 2/ Have you tested it on Windows and MacOS?

jim-easterbrook commented 11 years ago

I've added a separate daemonising startup script in commit ab8b68. This keeps the daemon stuff out of the main LiveLog.py module, where it could cause a problem on some platforms.