Radarr: Difference between revisions
From James's Wiki
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
sudo systemctl start radarr | sudo systemctl start radarr | ||
change file permissions: | |||
sudo chmod vpn:vpn /opt/Radarr | |||
edit config file if you get the radarr ver. thing: (add url base) | |||
sudo nano /home/vpn/.config/Radarr/config.xml | |||
run manually: | run manually: | ||
mono --debug /opt/Radarr/Radarr.exe | mono --debug /opt/Radarr/Radarr.exe |
Latest revision as of 22:12, 17 March 2018
bash
sudo curl -L -O $( curl -s https://api.github.com/repos/Radarr/Radarr/releases | grep linux.tar.gz | grep browser_download_url | head -1 | cut -d \" -f 4 )
sudo tar -xvzf Radarr.develop.*.linux.tar.gz
sudo nano /etc/nginx/sites-available/reverse
server { listen 80; server_name htpcguides.crabdance.com 192.168.40.105; location /radarr { proxy_pass http://127.0.0.1:7878; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }
sudo nginx -t
sudo service nginx restart
sudo nano /etc/systemd/system/radarr.service
[Unit] Description=Radarr Daemon After=syslog.target network.target [Service] User=vpn Group=vpn Type=simple ExecStart=/usr/bin/mono --debug /opt/Radarr/Radarr.exe -nobrowser TimeoutStopSec=20 KillMode=process Restart=on-failure [Install] WantedBy=multi-user.target
sudo systemctl enable radarr.service
sudo systemctl start radarr
change file permissions:
sudo chmod vpn:vpn /opt/Radarr
edit config file if you get the radarr ver. thing: (add url base)
sudo nano /home/vpn/.config/Radarr/config.xml
run manually:
mono --debug /opt/Radarr/Radarr.exe