new format for tmpfiles

This commit is contained in:
Jack L. Frost 2015-08-22 20:37:10 +03:00
parent 3dbd802f24
commit 15f3a94ecc
2 changed files with 3 additions and 6 deletions

View File

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

View File

@ -3,12 +3,8 @@
#service_respawn='true'
service_command='/usr/bin/vdevd'
service_args='-f /dev'
service_tmpdirs=( '/run/vdev' )
service_tmpfiles=( '/run/vdev:dir' '/run/udev:symlink:/dev/metadata/udev' )
start() {
if ! [[ -h /run/udev ]]; then
ln -s /dev/metadata/udev /run/udev
fi
watchman.start
}