use service_tmpdirs
This commit is contained in:
parent
d68f7bafbe
commit
3dbd802f24
|
@ -3,13 +3,12 @@
|
||||||
#service_respawn=true
|
#service_respawn=true
|
||||||
service_command='/usr/bin/dbus-daemon'
|
service_command='/usr/bin/dbus-daemon'
|
||||||
service_args='--system --nofork'
|
service_args='--system --nofork'
|
||||||
|
service_tmpdirs=( '/run/dbus' )
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
/usr/bin/dbus-uuidgen --ensure=/etc/machine-id
|
/usr/bin/dbus-uuidgen --ensure=/etc/machine-id
|
||||||
[[ -e /run/dbus ]] || { mkdir /run/dbus; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
start_pre
|
|
||||||
watchman.start
|
watchman.start
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user