We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b8dc15 commit e09db5eCopy full SHA for e09db5e
scripts/init.sh
@@ -136,6 +136,10 @@ case $1 in
136
log_failure_msg "set open file limit to $OPEN_FILE_LIMIT"
137
fi
138
139
+ # Set DBUS_SESSION_BUS_ADDRESS if unset to prevent the daemon from
140
+ # spawning a stray dbus-session process
141
+ export DBUS_SESSION_BUS_ADDRESS="${DBUS_SESSION_BUS_ADDRESS:-/dev/null}"
142
+
143
log_success_msg "Starting the process" "$name"
144
if command -v startproc >/dev/null; then
145
startproc -u "$USER" -g "$GROUP" -p "$pidfile" -q -- "$daemon" -pidfile "$pidfile" -config "$config" -config-directory "$confdir" $TELEGRAF_OPTS
0 commit comments