Change from npm to node to start the bot

This commit is contained in:
Junior 2024-11-23 18:51:57 +00:00
parent 5c30930433
commit 98afd4ea49

View File

@ -3,7 +3,7 @@
Description="CircleBot Instance" Description="CircleBot Instance"
[Service] [Service]
ExecStart=/usr/bin/npm start ExecStart=/usr/bin/node index.js
# Set this to the bot's top level directory # Set this to the bot's top level directory
WorkingDirectory=/opt/bots/CircleBot WorkingDirectory=/opt/bots/CircleBot
Restart=always Restart=always