错误日志文件:
supervisor: couldn't exec /home/bot/discord_bot/discordBot.py: ENOENT
supervisor: child process was not spawned
主管的conf文件:
[program:discordBot]
command=/home/bot/discord_bot/discordBot.py
direcotry=/home/bot/discord_bot/
user=bot
autostart=true
autorestart=true
stderr_logfile=/var/log/discord.err.log
stdout_logfile=/var/log/discord.out.log
我已经在脚本中写了shebang #!/bin/python3.7
我写了chmod +x /home/bot/discord_bot/discordBot.py