Hi
A lot of people ask us how to add the startup script in MOIPro,so send it here,because MOIPro using systemd start service have some difference than before.You need to create a systemd startup service,but you can add your startup script to our service too.more easy way.
eg: add astra startup command.
You can use SSH conect to your MOIPro
vi /usr/bin/moipro-webserver
add to the last like this:
file=/usr/local/tbs/apache2.4.3/htdocs/www/configs/radio.conf
if [ -f $file ]; then
value="$(head -1 $file)"
temp=`echo $value | cut -d : -f2`
if [ $temp -eq 4 ]; then
sleep 20
initstartdvblast.sh
fi
fi
sleep 20
astra /etc/astra/adapter0.lua
astra --relay -p 12000 /etc/astra/xproxy-ui.lua
Thanks
Kind Regards
steven