ssm-services/init.d/dbus

16 lines
268 B
Plaintext
Executable File

#!/usr/bin/env watchman
#service_respawn=true
service_command='/usr/bin/dbus-daemon'
service_args='--system --nofork'
start_pre() {
/usr/bin/dbus-uuidgen --ensure=/etc/machine-id
[[ -e /run/dbus ]] || { mkdir /run/dbus; }
}
start() {
start_pre
watchman.start
}