Primer commit del sistema separado falta mejorar mucho
This commit is contained in:
10
supervisor-discord.conf
Executable file
10
supervisor-discord.conf
Executable file
@@ -0,0 +1,10 @@
|
||||
[program:discord-bot]
|
||||
command=php /var/www/html/bot/bot_daemon.php
|
||||
directory=/var/www/html/bot
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stderr_logfile=/var/www/html/bot/logs/discord_bot_err.log
|
||||
stdout_logfile=/var/www/html/bot/logs/discord_bot_out.log
|
||||
user=www-data
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
Reference in New Issue
Block a user