Driver canon pixma ip1880 window 7, Lease termination format india, Gangstar rio city of saints for windows xp, Epson stylus c41sx windows 7 driver, Ios 7 beta 6 legal ipsw iphone 5, Kalavar king telugu movie mp3 songs, Riff for ubuntu 13.04, Diablo 2 lod able items, Cults static zip, I am the bread of life

Upstart & pywws

Not content with some shonky bash script launched from rc.local, I had a quick look at Upstart. It’s a million times easier than I expected. Simply stick the following into /etc/init/pywws.conf and let upstart do the rest. If you want to start the app, just run service pywws start after saving it.

Obviously, please tailor the last exec line to suit your own environment.


# pywws - Python Wireless Weather Station Software

# A collection of Python scripts to read, store and process data from
# popular USB wireless weather stations such as Elecsa AstroTouch 6975,
# Watson W-8681, WH-1080PC, WH1080, WH1081 etc.
# http://code.google.com/p/pywws/

description "Python Wireless Weather Station"
author "Kyle Gordon "

start on runlevel [345]
stop on runlevel [!345]

respawn # Respawn this process if it dies

respawn limit 10 600 # If you have to respawn 10 times
# in 10 minutes, give up

exec python /usr/local/pywws-10.12_r323/LiveLog.py -v -l /var/lib/weather/data//live_logger.log /var/lib/weather/data/