Auto start Next.js with supervisor
I want to start Next.js development server on my computer when it starts. Usually, this is done using pm2, I wanted to do it with supervisors. Install supervisor with command apt install -y supervisor Create file vi /etc/supervisor/conf.d/nextjs-todo.conf My Next.js application is located in the directory /mnt/data/sites/learn/nextjs/todo, so I used the following configuration [program:nextjs-todo] priority=200 … Read more