bf96e50e44
- Introduced valgrind with a patch to respect flags and updated its configuration. - Added Vulkan ICD loader with CMake build configuration. - Implemented Waf build system with a custom build script and configuration. - Included Wayland protocols with Meson build system. - Added xcb-util-keysyms with autotools configuration. - Introduced Yasm with multiple patches for compatibility and improvements. - Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
34 lines
795 B
Plaintext
34 lines
795 B
Plaintext
#!/sbin/openrc-run
|
|
name="System Message Bus"
|
|
description="D-Bus System Message Bus"
|
|
|
|
extra_started_commands="reload"
|
|
|
|
command="/usr/bin/dbus-daemon"
|
|
command_args="--system --nofork --nopidfile --syslog-only ${command_args:-}"
|
|
command_background="yes"
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
|
|
depend() {
|
|
need localmount
|
|
after bootmisc
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -d -m755 -o "${command_user:-root:messagebus}" /run/dbus || return 1
|
|
|
|
/usr/bin/dbus-uuidgen --ensure="${machine_id:-/etc/machine-id}"
|
|
}
|
|
|
|
stop_post() {
|
|
[ ! -S /run/dbus/system_bus_socket ] || rm -f /run/dbus/system_bus_socket
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading $name configuration"
|
|
/usr/bin/dbus-send --print-reply --system --type=method_call \
|
|
--dest=org.freedesktop.DBus \
|
|
/ org.freedesktop.DBus.ReloadConfig > /dev/null
|
|
eend $?
|
|
}
|