ssm-services/init.d/dbus

16 lines
263 B
Plaintext
Raw Normal View History

2013-09-28 23:32:39 +00:00
#!/usr/bin/env watchman
#service_respawn=true
2013-09-28 23:32:39 +00:00
service_command='/usr/bin/dbus-daemon'
2015-09-04 13:47:37 +00:00
service_args=( --system --nofork )
2015-08-22 17:37:10 +00:00
service_tmpfiles=( '/run/dbus:dir' )
2013-09-28 23:32:39 +00:00
start_pre() {
/usr/bin/dbus-uuidgen --ensure=/etc/machine-id
}
start() {
2015-08-22 17:37:10 +00:00
start_pre
2013-09-28 23:32:39 +00:00
watchman.start
}