[Main]
Type = oneshot
Description = "Create temporary files"
Depends = ( mount-rw )

[Execute]
StdOut = 66log:%%livedir%%/log/local-tmpfiles

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

        execl-cmdline -s { ${Args} }

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

[Environment]
Args=!%%tmpfiles%%/opentmpfiles.sh ${ArgsScript}
ArgsScript=!--create --verbose --boot

