-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_ubuntu_2.sh
25 lines (22 loc) · 1.31 KB
/
install_ubuntu_2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Ubuntu 20.04LTS+
# Run in your virtual ENV to install flexget
# source ~/flexget/bin/activate
pip3 install --upgrade pip
pip3 install --upgrade setuptools
pip3 install --upgrade libtorrent
pip3 install --upgrade guppy3
pip3 install --upgrade wheel # to upgrade: pip3 install --upgrade deluge-client
pip3 install --upgrade deluge-client # Needed to talk to Deluge - to upgrade: pip3 install --upgrade deluge-client
pip3 install --upgrade lbry-libtorrent # Needed for convert_magnet - to upgrade: pip3 install --upgrade lbry-libtorrent
pip3 install --upgrade flexget # to upgrade: pip3 install --upgrade flexget
pip3 install --upgrade cloudscraper # to upgrade: pip3 install --upgrade cloudscraper
# Start at boot AS MY USER - Add it to the reboot crontab (unfortunately this means to restart you need a reboot)
export EDITOR=nano
crontab -e
Add this entry:
@reboot /home/user/flexget/bin/python3 /home/user/flexget/bin/flexget -c /home/user/flexget/config.yml daemon start -d
# Deluge Demon logs: /var/log/deluge/user/daemon.log
# Deluge Web UI Logs: /var/log/deluge/user/web.log
# Deluge Daemon (Userspace): systemctl <stop|start|restart|status> [email protected]
# Systemd file: /etc/systemd/system/multi-user.target.wants/[email protected]
# Deluge Web UI (UseSpace) systemctl <stop|start|restart|status> [email protected]