From aa7080911be1073de0ae1133854b87b3d29ba66d Mon Sep 17 00:00:00 2001 From: Patrick Linstruth Date: Wed, 19 Dec 2018 15:39:27 -0800 Subject: [PATCH] Fix syslog process name --- apis/PyPAD/scripts/pypad_icecast2.py | 2 +- apis/PyPAD/scripts/pypad_tunein.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/PyPAD/scripts/pypad_icecast2.py b/apis/PyPAD/scripts/pypad_icecast2.py index 4c25deee..2a83f528 100755 --- a/apis/PyPAD/scripts/pypad_icecast2.py +++ b/apis/PyPAD/scripts/pypad_icecast2.py @@ -75,7 +75,7 @@ pypad_name=os.path.basename(__file__) # # Open Syslog # -syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_DAEMON) +syslog.openlog(pypad_name,logoption=syslog.LOG_PID,facility=syslog.LOG_DAEMON) # diff --git a/apis/PyPAD/scripts/pypad_tunein.py b/apis/PyPAD/scripts/pypad_tunein.py index f1606967..6897f82c 100755 --- a/apis/PyPAD/scripts/pypad_tunein.py +++ b/apis/PyPAD/scripts/pypad_tunein.py @@ -81,7 +81,7 @@ pypad_name=os.path.basename(__file__) # # Open Syslog # -syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_DAEMON) +syslog.openlog(pypad_name,logoption=syslog.LOG_PID,facility=syslog.LOG_DAEMON) #