Follow these steps.
1. Open the Crontab file.
2. Then enter this code into it, save it. (CTRL + X)
3. Then restart the server. The Panel will run automatically.
---
OR
---
1. Enter this command.
2. Then enter into this script code, save it. (CTRL + X)
3. Enter this command to grant the required permissions.
4. Then restart the server. The Panel will run automatically.
1. Open the Crontab file.
PHP:
nano /etc/crontab
2. Then enter this code into it, save it. (CTRL + X)
PHP:
@reboot root /home/xtreamcodes/iptv_xtream_codes/start_services.sh
3. Then restart the server. The Panel will run automatically.
---
OR
---
1. Enter this command.
PHP:
nano /etc/rc.local
2. Then enter into this script code, save it. (CTRL + X)
PHP:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/home/xtreamcodes/iptv_xtream_codes/start_services.sh
exit 0
3. Enter this command to grant the required permissions.
PHP:
chmod +x /etc/rc.local
4. Then restart the server. The Panel will run automatically.