ssm-services/init.d/dbus

16 lines
267 B
Plaintext
Raw Normal View History

2013-09-28 23:32:39 +00:00
#!/usr/bin/env watchman
2014-07-03 07:05:52 +00:00
service_respawn=true
2013-09-28 23:32:39 +00:00
service_command='/usr/bin/dbus-daemon'
2014-07-03 07:05:52 +00:00
service_args='--system --nofork'
2013-09-28 23:32:39 +00:00
start_pre() {
/usr/bin/dbus-uuidgen --ensure=/etc/machine-id
[[ -e /run/dbus ]] || { mkdir /run/dbus; }
}
start() {
start_pre
watchman.start
}