Helmut Pozimski
|
ec052f3453
changed the code to also terminate the process if it is not run as daemon
|
11 years ago |
Helmut Pozimski
|
a30a896280
changed formatter to include the PID
|
11 years ago |
Helmut Pozimski
|
6e17e8788b
added some more info messages, imporved logging
|
11 years ago |
Helmut Pozimski
|
90e549dc9e
corrected the format string for logger
|
11 years ago |
Helmut Pozimski
|
faa1f759da
explicitly import logging.handlers to be able to use SysLogHandler
|
11 years ago |
Helmut Pozimski
|
140bdc5c31
corrected a small typo calling the logger object
|
11 years ago |
Helmut Pozimski
|
add002fb5e
implemented minimal logging to syslog and console
|
11 years ago |
Helmut Pozimski
|
92049103d6
correctly import os, I really should have done that in the first place
|
11 years ago |
Helmut Pozimski
|
00dc5ca0ee
implemented signal handling
|
11 years ago |
Helmut Pozimski
|
597c58aee8
updated TODO and generated Changelog from bzr
|
11 years ago |
Helmut Pozimski
|
4a8e6c84e7
yet another round of cosmetical changes to the init script
|
11 years ago |
Helmut Pozimski
|
03079ccdad
another round of cosmetical changes to the init script
|
11 years ago |
Helmut Pozimski
|
12615260a1
corrected the start method in the init script
|
11 years ago |
Helmut Pozimski
|
fe7e604545
added a simple init script for sysvinit
|
11 years ago |
Helmut Pozimski
|
321a2a2300
corrected two small typos
|
11 years ago |
Helmut Pozimski
|
19f187e6e9
set high or low brightness when the configured minute is reached
|
11 years ago |
Helmut Pozimski
|
7ad07cb636
only call datetime.now once per cycle to safe some processing time
|
11 years ago |
Helmut Pozimski
|
ed84e037ce
and corrected the reversed order for the values
|
11 years ago |
Helmut Pozimski
|
bd8605e6f5
change blink_colon to bolean value as it was intended
|
11 years ago |
Helmut Pozimski
|
bead5dbccf
added configurable blinking of the middle colon
|
11 years ago |
Helmut Pozimski
|
36c0634f61
comparing time doesn't work between 2 days so just check if the conditions for high state are met and fall back to log otherwise
|
11 years ago |
Helmut Pozimski
|
b1246e11a5
added rules for setting both high and low states
|
11 years ago |
Helmut Pozimski
|
262728b540
correctly create time object in the configuration
|
11 years ago |
Helmut Pozimski
|
071d7cf996
changed the time comparison so it hopefully makes sense now
|
11 years ago |
Helmut Pozimski
|
5415735bf2
fixed a line break
|
11 years ago |
Helmut Pozimski
|
037baf1b7e
added code to change the brightness according to time of day
|
11 years ago |
Helmut Pozimski
|
67d70b1cc2
corrected a comment in the configuration
|
11 years ago |
Helmut Pozimski
|
a750acf9d7
only got int with base 16 without hex conversion, seems to work
|
11 years ago |
Helmut Pozimski
|
d9ed7f4235
also didn't work, another try, first go int with base16, then go to hex
|
11 years ago |
Helmut Pozimski
|
6fb6eabc3d
the change intended with the last commit didn't work out, try hex, it might work better
|
11 years ago |