[main]
@type = oneshot
@version = @vers@
@description = "Create temporary files"
@depends = ( mount-rw )
@user = ( root )

[start]
@execute =
(
    if { 66-yeller -cdp local-tmpfiles -1 /dev/console setup volatile temporary files }
    if -nt {

        execl-cmdline -s { ${SCRIPT_FILE} ${SCRIPT_ARGS} }

    }
    66-yeller -Fcdp local-tmpfiles -1 /dev/console something went wrong!
)

[environment]
SCRIPT_FILE=!@tmpfiles@/opentmpfiles.sh
SCRIPT_ARGS=!--create --verbose --boot

[logger]
@destination = @live_dir@/log/local-tmpfiles
