Open jorengo opened 6 years ago
You're probably talking about the last section of the blog post (installing forever
and putting the command in /etc/rc.local
), and I assume you already have the bot working.
In that case, you're right, that last section doesn't work well with SystemD. Instead you should install and try PM2, but replace app.js
with the full path to the server.js
script.
Dear,
I'm trying to put the command online: node but it does not run in Systemd. How do I permanently place the botgram automatically in the memory of the ubuntu 16 server? Can someone help me ?
Best Regards.