2013-09-28 23:32:39 +00:00
|
|
|
#!/usr/bin/env watchman
|
|
|
|
|
2014-08-02 17:35:27 +00:00
|
|
|
#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
|
|
|
|
}
|