Starting Hexo On Boot 2024年06月18日 Guestbook Create a shell to execute the Hexo server1234cd ~vi start_hexo.sh#!/bin/bashcd /home/hexoadm/hexo01/ && /usr/local/bin/hexo server Make the script executable1chmod +x start_hexo.sh Edit your user’s crontab file to start Hexo on boot12345678crontab -u hexoadm -emust be privileged to use -usu -Password:crontab -u hexoadm -e@reboot sh start_hexo.sh Contents Create a shell to execute the Hexo serverMake the script executableEdit your user’s crontab file to start Hexo on boot