Update .seedbox_installation.sh
This commit is contained in:
parent
d03898db2a
commit
a5fb28a2e5
|
@ -69,6 +69,7 @@ RestartSec=10
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
sudo -u $username mkdir -p /home/$username/qbittorrent/Downloads
|
sudo -u $username mkdir -p /home/$username/qbittorrent/Downloads
|
||||||
|
mkdir -p /home/$username/.config/qBittorrent && chown $username /home/$username/.config/qBittorrent
|
||||||
systemctl enable qbittorrent-nox@$username
|
systemctl enable qbittorrent-nox@$username
|
||||||
systemctl start qbittorrent-nox@$username
|
systemctl start qbittorrent-nox@$username
|
||||||
}
|
}
|
||||||
|
@ -193,4 +194,4 @@ EOF
|
||||||
chmod +x $HOME/.autoremove.sh
|
chmod +x $HOME/.autoremove.sh
|
||||||
apt-get -qqy install screen > /dev/null
|
apt-get -qqy install screen > /dev/null
|
||||||
screen -dmS autoremove-torrents $HOME/.autoremove.sh
|
screen -dmS autoremove-torrents $HOME/.autoremove.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue