1. Download free version of cesbo astra (4.4.182), depending on your system and copy to /usr/bin/ :
or
1. Install astra
2.
3. Create directory
and put your testch.lua config file
Example testch.lua file:
4.
5. Run lua file as root
Update: 21.2.2021
Monitor process with monit:
1.
2. Edit monit file, set IP addres and port, login parameters.
3. Add config lines for astra process on end file, example:
4. Restart monit with service monit restart.
5. Add more process, and open web interface for monit http://iport
6. Edit process on web
or
1. Install astra
2.
PHP:
chmod +x /usr/bin/astra
3. Create directory
PHP:
mkdir /etc/astra/
Example testch.lua file:
PHP:
#!/usr/bin/astra
-- log.set({ debug = true })
log.set({
debug = true,
filename = "testch.log",
})
pidfile("/var/run/testch.pid")
adapter_1 = dvb_tune({
type = "S2",
adapter = 1,
tp = "11995:H:25000",
lnb = "9750:10600:11700",
})
make_channel({
name = "testch",
input = {
"dvb://adapter_1#pnr=2099&cam"
},
output = {
"http://192.168.1.188:6019/testch"
}
})
make_channel({
name = "testch1",
input = {
"dvb://adapter_1#pnr=2088&cam"
},
output = {
"http://192.168.1.188:6019/testch1"
}
})
4.
PHP:
chmod +x /etc/astra/testch.lua
5. Run lua file as root
PHP:
./etc/astra/testch.lua
Update: 21.2.2021
Monitor process with monit:
1.
Install monit for ubuntu:
sudo apt install monit
2. Edit monit file, set IP addres and port, login parameters.
PHP:
sudo nano /etc/monit/monitrc
3. Add config lines for astra process on end file, example:
4. Restart monit with service monit restart.
5. Add more process, and open web interface for monit http://iport
PHP:
https://i.imgyukle.com/2021/02/21/LUY6Bx.png
6. Edit process on web
PHP:
https://i.imgyukle.com/2021/02/21/LUakz8.png
This resource has been reported as working in 0 time(s), and as not-working 0 time(s) this month.
(0 time(s) working and 0 time(s) not-working in total)
(0 time(s) working and 0 time(s) not-working in total)
Last edited: