Set output of daemon to logfile

This commit is contained in:
Joshua Boniface 2017-03-31 05:59:12 +00:00
parent 4cff7316af
commit 7918441182
1 changed files with 2 additions and 2 deletions

4
bmcd
View File

@ -81,8 +81,8 @@ def writestate(is_pled_flashing):
class App():
def __init__(self):
self.stdin_path = '/dev/null'
self.stdout_path = '/dev/tty'
self.stderr_path = '/dev/tty'
self.stdout_path = '/var/log/bmcd.log'
self.stderr_path = '/var/log/bmcd.log'
self.pidfile_path = pidfile
self.pidfile_timeout = 5
def run(self):