forked from Spark/ssm-services
use service_tmpdirs
This commit is contained in:
parent
d68f7bafbe
commit
3dbd802f24
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user