rm /volume1/"Общая папка"/Программы/TEST2/*
rm -Rf /volume1/"Общая папка"/Программы/TEST2
rm -Rf /volume1/"Общая папка"/Программы/TEST2/*
-r, -R, --recursive
rm --help
или
man rm
sudo dpkg -i /путь_к_пакету/*.deb
sudo dpkg -i /путь_к_пакету/имя_пакета.deb
directory = /var/www/site.ru/
sudo supervisorctl reread; sudo supervisorctl update; sudo systemctl restart supervisor.service
command=php /var/www/site.ru/artisan queue:work --tries=3
command = php artisan.php queue:work --tries=3
directory = /var/www/site.ru/
или
command = /usr/bin/php /var/www/site.ru/artisan.php queue:work --tries=3
directory = /var/www/site.ru/
sudo apt install supervisor
/etc/supervisor/conf.d/
с объединением в группы:; supervisor config file
[program:1-StreamBot]
command = python StreamBot.py StreamBot 1.0.0
directory = /opt/ProxyBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/proxybot.log
stderr_logfile = /var/log/proxybot.log
startsecs = 10
#startretries=2
priority = 990
autostart = true
autorestart = true
[program:2-CheckBot]
command = python CheckBot.py CheckBot 1.0.0
directory = /opt/ProxyBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/proxybot.log
stderr_logfile = /var/log/proxybot.log
startsecs = 10
priority = 991
autostart = true
autorestart = true
[program:3-SearchBot]
command = python SearchBot.py provider[0] SearchBot 1.0.0
directory = /opt/ProxyBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/proxybot.log
stderr_logfile = /var/log/proxybot.log
startsecs = 10
priority = 992
autostart = true
autorestart = true
[program:4-PlistBot]
command = python PlistBot.py PlistBot 1.0.0
directory = /opt/ProxyBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/proxybot.log
stderr_logfile = /var/log/proxybot.log
startsecs = 10
priority = 993
autostart = true
autorestart = true
[group:ProxyBot]
programs = 1-StreamBot,2-CheckBot,3-SearchBot,4-PlistBot
priority = 994
[program:1-StreamBot]
command = python StreamBot.py StreamBot 1.0.0
directory = /opt/ChannelBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/channelbot.log
stderr_logfile = /var/log/channelbot.log
startsecs = 10
#startretries=2
priority = 995
autostart = true
autorestart = true
[program:2-CheckBot]
command = python CheckBot.py CheckBot 1.0.0
directory = /opt/ChannelBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/channelbot.log
stderr_logfile = /var/log/channelbot.log
startsecs = 10
priority = 996
autostart = true
autorestart = true
[program:3-SearchBot]
command = python SearchBot.py provider[0] SearchBot 1.0.0
directory = /opt/ChannelBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/channelbot.log
stderr_logfile = /var/log/channelbot.log
startsecs = 10
priority = 997
autostart = true
autorestart = true
[program:4-PlistBot]
command = python PlistBot.py PlistBot 1.0.0
directory = /opt/ChannelBot
stdout_logfile_maxbytes = 50MB
stdout_logfile = /var/log/channelbot.log
stderr_logfile = /var/log/channelbot.log
startsecs = 10
priority = 998
autostart = true
autorestart = true
[group:ChannelBot]
programs = 1-StreamBot,2-CheckBot,3-SearchBot,4-PlistBot
priority = 999
[program:1-StreamBot]
[group:ProxyBot]
programs = 1-StreamBot,2-CheckBot,3-SearchBot,4-PlistBot
priority = 994
priority = 994
- это порядок/очерёдность запуска. По умолчанию 999, т.е. авто-выбор...
Хотя и кошерный.