mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Adding the facility to the accelerate daemon syslog calls
This commit is contained in:
parent
7c1c9b3d10
commit
8a016bb374
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ PIDFILE = os.path.expanduser("~/.accelerate.pid")
|
||||||
CHUNK_SIZE=10240
|
CHUNK_SIZE=10240
|
||||||
|
|
||||||
def log(msg):
|
def log(msg):
|
||||||
syslog.syslog(syslog.LOG_NOTICE, msg)
|
syslog.syslog(syslog.LOG_NOTICE|syslog.LOG_DAEMON, msg)
|
||||||
|
|
||||||
if os.path.exists(PIDFILE):
|
if os.path.exists(PIDFILE):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue