summaryrefslogtreecommitdiff
path: root/extra/dbus/dbus.initd
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /extra/dbus/dbus.initd
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'extra/dbus/dbus.initd')
-rw-r--r--extra/dbus/dbus.initd33
1 files changed, 0 insertions, 33 deletions
diff --git a/extra/dbus/dbus.initd b/extra/dbus/dbus.initd
deleted file mode 100644
index f3f44da..0000000
--- a/extra/dbus/dbus.initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/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 root:messagebus /run/dbus || return 1
-
- /usr/bin/dbus-uuidgen --ensure=/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 $?
-}