forked from Spark/ssm-services
new format for tmpfiles
This commit is contained in:
parent
3dbd802f24
commit
15f3a94ecc
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user