Nos78 / MrData

Discord Bot providing some simple scoring using postgres
GNU General Public License v3.0
3 stars 1 forks source link

Systemctl fails start bot.js, fails multiple times due to cmdExec.log file creation/permission errors #7

Open Nos78 opened 5 years ago

Nos78 commented 5 years ago

When running as a systemctl service, the new cmdExec.log functionality will cause the bot to fail to start if the permissions are incorrectly set (I needed to chmod 666 cmdExec.log). It runs fine if started manually with node bot.js.

If the file doesn't exist, then the service cannot create the file at all.