cp /var/www/cakebox/config/default.php.dist /var/www/cakebox/config/vince413.php nano /var/www/cakebox/config/vince413.php usermod -aG web vince413 usermod -aG web www-data proprietaire/group modifier chown -R moon413:moon413 /home/moon413/torrents/ find /home/vince413/torrents/ -type f -exec chmod 644 {} \; find /home/vince413/torrents/ -type d -exec chmod 755 {} \; echo "system.method.set_key = event.download.finished,update_file,\"execute=/home/vince413/.session/file_torrent.sh\"" >> /home/vince413/.rtorrent.rc nano /home/vince413/.session/file_torrent.sh chmod +x /home/vince413/.session/file_torrent.sh Gaļa service moon413-rtorrent restart rm -R /home/vince413/.irssi/scripts/* mkdir /home/vince413/.irssi/scripts/autorun chown -R www-data:www-data /var/www/rutorrent/conf/users/vince413 chown -R www-data:www-data /var/www/rutorrent/plugins/autodl-irssi chown -R vince413:vince413 /home/vince413/.irssi chown -R vince413:vince413 /home/vince413/.autodl cd /home/vince413/.irssi/scripts curl -sL https://api.github.com/repos/autodl-community/autodl-irssi/releases/latest | grep -Po '(?<="browser_download_url": ")(.*-v[\d.]+.zip)' | xargs wget --quiet -O autodl-irssi.zip unzip -o autodl-irssi.zip rm autodl-irssi.zip cp autodl-irssi.pl autorun chown -R root:moon413 /home/moon413/torrents/Gaļa