Skip to content

Commit

Permalink
Add autostart section
Browse files Browse the repository at this point in the history
  • Loading branch information
interlark authored Jul 19, 2022
1 parent f4ef4de commit fb14b60
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,48 @@ To play and enjoy your free IPTV you need 2 URLs:
2) Settings -> EPG Url -> http://127.0.0.1:6363/tvguide.xml.gz
```
## ⏰ Autostart
You can use **systemd** on Linux-based servers to automatically run **ustvgo-iptv** on start-ups.
1. Get full path to `ustvgo-iptv`
```bash
$ which ustvgo-iptv
```
```bash
/home/USERNAME/.local/bin/ustvgo-iptv
```
2. Create systemd service file with following text
```bash
$ sudo nano /etc/systemd/system/ustvgo.service
```
```ini
[Unit]
Description=USTVGO Free IPTV
After=network.target
[Service]
User=USERNAME
Type=notify
Restart=always
ExecStart=/home/USERNAME/.local/bin/ustvgo-iptv
[Install]
WantedBy=multi-user.target
```
3. Set permissions and enable the service
```bash
$ sudo chmod 644 /etc/systemd/system/ustvgo.service
$ sudo systemctl enable ustvgo.service
```
4. Reboot
Don't forget to replace `USERNAME` with your actual username.
## 👍 Support
- [ustvgo.tv](https://ustvgo.tv) is wonderful project which can offer you a free IPTV, please support these guys buying VPN with their [referral link](https://ustvgo.tv/vpn). With VPN you can watch even more of their channels, like extra 25 or so.
Expand Down

0 comments on commit fb14b60

Please sign in to comment.