mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
bitbake: daemonize.py: Non-functional comment/aesthetic fixes.
(Bitbake rev: fd293c5fcc89bc7a541d09e88a6aec5e0b2a1db2) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8a91a24ce9
commit
f1dc26ebf4
@@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Python Deamonizing helper
|
Python Daemonizing helper
|
||||||
|
|
||||||
Configurable daemon behaviors:
|
Configurable daemon behaviors:
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ __version__ = "0.2"
|
|||||||
|
|
||||||
# Standard Python modules.
|
# Standard Python modules.
|
||||||
import os # Miscellaneous OS interfaces.
|
import os # Miscellaneous OS interfaces.
|
||||||
import sys # System-specific parameters and functions.
|
import sys # System-specific parameters and functions.
|
||||||
|
|
||||||
# Default daemon parameters.
|
# Default daemon parameters.
|
||||||
# File mode creation mask of the daemon.
|
# File mode creation mask of the daemon.
|
||||||
@@ -128,7 +128,7 @@ def createDaemon(function, logfile):
|
|||||||
# of methods to accomplish this task. Three are listed below.
|
# of methods to accomplish this task. Three are listed below.
|
||||||
#
|
#
|
||||||
# Try the system configuration variable, SC_OPEN_MAX, to obtain the maximum
|
# Try the system configuration variable, SC_OPEN_MAX, to obtain the maximum
|
||||||
# number of open file descriptors to close. If it doesn't exists, use
|
# number of open file descriptors to close. If it doesn't exist, use
|
||||||
# the default value (configurable).
|
# the default value (configurable).
|
||||||
#
|
#
|
||||||
# try:
|
# try:
|
||||||
|
|||||||
Reference in New Issue
Block a user