Installation des dépendances.
|
sudo apt install libmono-cil-dev curl mediainfo -y |
Installation de Radarr.
Télécharger la dernière version de Radarr
|
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 ) |
Extraire le tar.gz
|
tar -xvzf Radarr.develop.*.linux.tar.gz |
Supprimer le tar.gz
|
rm Radarr.develop.*.linux.tar.gz |
Déplacer le dossier dans /opt
Création du service Radarr
|
sudo nano /etc/systemd/system/radarr.service |
Coller le texte ci-dessous
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 26
|
[Unit] Description=Radarr Daemon After=syslog.target network.target [Service] # Change the user and group variables here. User=<span style="color: #ff0000;">[su_user field="display_name" default="scotch"]</span> Group=<span style="color: #ff0000;">[su_user field="display_name" default="scotch"]</span> Type=simple # Change the path to Radarr or mono here if it is in a different location for you. ExecStart=/usr/bin/mono --debug /opt/Radarr/Radarr.exe -nobrowser TimeoutStopSec=20 KillMode=process Restart=on-failure # These lines optionally isolate (sandbox) Radarr from the rest of the system. # Make sure to add any paths it might use to the list below (space-separated). #ReadWritePaths=/opt/Radarr /path/to/movies/folder #ProtectSystem=strict #PrivateDevices=true #ProtectHome=true [Install] WantedBy=multi-user.target |
Ctrl + X pour quitter nano.
« Y » pour enregistrer les modifications.
Touche Entrée pour confirmer.
Taper la ligne suivante pour activer le service au démarrage
|
sudo systemctl enable radarr.service |
Démarrage du service
|
sudo systemctl start radarr.service |
Vérification de l’état du service
|
sudo systemctl status radarr.service |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<span style="color: #00ff00;">●</span> radarr.service - Radarr Daemon Loaded: loaded (/etc/systemd/system/radarr.service; enabled; vendor preset: enabled) Active: <span style="color: #00ff00;">active (running)</span> since Tue 2019-05-07 13:59:33 UTC; 5s ago Main PID: 13934 (mono) Tasks: 12 (limit: 4516) Memory: 104.1M CGroup: /system.slice/radarr.service └─13934 /usr/bin/mono --debug /opt/Radarr/Radarr.exe -nobrowser mai 07 13:59:35 MediaCenter mono[13934]: [Info] convert_regex_required_tags: Starting migration to 149 mai 07 13:59:35 MediaCenter mono[13934]: [Info] MigrationLogger: *** 150: fix_format_tags_double_underscore migrating *** mai 07 13:59:35 MediaCenter mono[13934]: [Info] fix_format_tags_double_underscore: Starting migration to 150 mai 07 13:59:35 MediaCenter mono[13934]: [Info] MigrationLogger: *** 151: add_tags_to_net_import migrating *** mai 07 13:59:35 MediaCenter mono[13934]: [Info] add_tags_to_net_import: Starting migration to 151 mai 07 13:59:35 MediaCenter mono[13934]: [Info] OwinHostController: Listening on the following URLs: mai 07 13:59:35 MediaCenter mono[13934]: [Info] OwinHostController: http://*:7878/ mai 07 13:59:35 MediaCenter mono[13934]: [Info] NancyBootstrapper: Starting NzbDrone API mai 07 13:59:36 MediaCenter mono[13934]: [Info] ProfileService: Setting up default quality profiles mai 07 13:59:36 MediaCenter mono[13934]: [Info] CommandExecutor: Starting 2 threads for tasks. |
2 réflexions au sujet de “Radarr”