use service_tmpdirs

This commit is contained in:
Jack L. Frost 2015-08-22 20:20:28 +03:00
parent d68f7bafbe
commit 3dbd802f24

View File

@ -3,13 +3,12 @@
#service_respawn=true
service_command='/usr/bin/dbus-daemon'
service_args='--system --nofork'
service_tmpdirs=( '/run/dbus' )
start_pre() {
/usr/bin/dbus-uuidgen --ensure=/etc/machine-id
[[ -e /run/dbus ]] || { mkdir /run/dbus; }
}
start() {
start_pre
watchman.start
}