#!/command/execlineb -P
fdmove -c 2 1
if
{
  forbacktickx -Ep -0 i { s6-ls -0 /run/service }
  foreground
  {
    if { eltest -d /run/service/${i}/log }
    s6-cleanfifodir /run/service/${i}/log/event
  }
  s6-cleanfifodir /run/service/${i}/event
}
s6-setuidgid nobody
s6-sleep 86400
