pre-start script bash << "EOF" mkdir -p <%= log %> chown -R <%= user %> <%= log %> EOF end script start on runlevel [2345] stop on runlevel [016]