ssm-services/init.d/dbus

16 lines
263 B
Plaintext
Executable File

#!/usr/bin/env watchman
#service_respawn=true
service_command='/usr/bin/dbus-daemon'
service_args=( --system --nofork )
service_tmpfiles=( '/run/dbus:dir' )
start_pre() {
/usr/bin/dbus-uuidgen --ensure=/etc/machine-id
}
start() {
start_pre
watchman.start
}