Sorry I think it is more a linux question instead of particular to openresty, but in normal server like apache and nginx, you can just use like
chkconfig httpd on
to start the server after reboot.
How can I do this with openresty? (I normally start openresty with /usr/local/openresty/nginx/sbin/nginx)