Closed stefanpejcic closed 5 months ago
0.1.7
cron da se instalira i start kad se doda job!
kad se obrise zadnji cron, onda cron service se stopira i brise!
mysql da se start kad se doda baza, user, ili ulaz an phpmyadmin. u gui da piše 0 baza ako je servis off! cron u poyadini da gasi ako nema baza/usera!
pm2, node/python da se dodaju kad i aplikacija!
pm2_list_output=$(pm2 list)
if [[ $pm2_list_output =~ "│.online.│" ]]; then
echo "There are active NodeJS/Python Applications, starting them.." pm2 resurrect
else
echo "No active NodeJS/Python Applications to to run. Skipping 'pm2 resurrect'."
fi
nginx da startuje kad doda domen!!!!
php da se start kada doda domen tek!!!
SSH:
service status, ako unknown, onda install:
apt-get install openssh-server -y && echo "export VISIBLE=now" >> /etc/profile
########## SSH ########## ENV NOTVISIBLE "in users profile" RUN echo "export VISIBLE=now" >> /etc/profile
ako je off, onda samo on.
webterminal:
if command, then start, if unkonw, then install and start.
install ttyd and screen
phpmyadmin:
install phpmyadmin, and screen
r
No response
Need further testing
OpenPanel version(s) affected
0.1.7
Description
cron da se instalira i start kad se doda job!
kad se obrise zadnji cron, onda cron service se stopira i brise!
mysql da se start kad se doda baza, user, ili ulaz an phpmyadmin. u gui da piše 0 baza ako je servis off! cron u poyadini da gasi ako nema baza/usera!
pm2, node/python da se dodaju kad i aplikacija!
Check if there are any sites running with pm2
pm2_list_output=$(pm2 list)
if [[ $pm2_list_output =~ "│.online.│" ]]; then
If there are active processes, run pm2 resurrect
else
If there are no active processes, print a message
fi
nginx da startuje kad doda domen!!!!
php da se start kada doda domen tek!!!
SSH:
service status, ako unknown, onda install:
apt-get install openssh-server -y && echo "export VISIBLE=now" >> /etc/profile
########## SSH ########## ENV NOTVISIBLE "in users profile" RUN echo "export VISIBLE=now" >> /etc/profile
ako je off, onda samo on.
webterminal:
if command, then start, if unkonw, then install and start.
install ttyd and screen
phpmyadmin:
if command, then start, if unkonw, then install and start.
install phpmyadmin, and screen
How to reproduce
r
Possible Solution
No response
Additional Context
No response