From b341f2e97aeb4037dcb43be3fc7d36fb75769d77 Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sun, 31 Jul 2022 21:13:06 +0200 Subject: [PATCH] Updated Installation on OpenWrt (markdown) --- Installation-on-OpenWrt.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Installation-on-OpenWrt.md b/Installation-on-OpenWrt.md index fa192ce..68c30f4 100644 --- a/Installation-on-OpenWrt.md +++ b/Installation-on-OpenWrt.md @@ -1,24 +1,23 @@ -## Installation on OpenWrt -### Install required dependencies: +## Install required dependencies: You need to install the following dependencies: icu, libstdcpp6, libintl, whoami, pgrep `opkg update && opkg install icu70 icu-full-data70 libstdcpp6 libintl-full8 procps-ng procps-ng-pgrep coreutils-whoami` -### Install as service +## Install as service 1. Download and extract the latest `Jackett.Binaries.LinuxMusl(AMDx64,ARM32,ARM64).tar.gz` release from the [releases page](https://github.com/Jackett/Jackett/releases) 2. To install Jackett as a service, open a Terminal, cd to the Jackett folder, and create a new file called `install_service_openwrt.sh` with the script at the end of this page. Give it execution permissions `chmod +x install_service_openwrt.sh` 3. Run `sudo ./install_service_openwrt.sh` You need root permissions to install the service. The service will start on each logon. You can always stop it by running `/etc/init.d/jackett stop` from Terminal. You can start it again it using `/etc/init.d/jackett start`. Logs are stored as usual under `/var/log/jackett/log.txt`. Jackett configs are stored as usual under `/opt/Jackett`. -### Run without installing as a service +## Run without installing as a service Download and extract the latest `Jackett.Binaries.LinuxMusl(AMDx64,ARM32,ARM64).tar.gz` release from the [releases page](https://github.com/Jackett/Jackett/releases), open a Terminal, cd to the Jackett folder and run Jackett with the command `./jackett_launcher.sh` -### Home directory +## Home directory If you want to run it with a user without a /home directory you need to add `Environment=XDG_CONFIG_HOME=/path/to/folder` to your systemd file, this folder will be used to store your config files. -### Thoubleshooting +## Thoubleshooting If you get an error related to `pgrep` when you execute `./jackett_launcher.sh`. You can edit that script to use `pgrep-procps-ng` instead. -### install_service_openwrt.sh +## install_service_openwrt.sh Copy the following script in a file called `install_service_openwrt.sh` inside the Jackett folder. ```bash #!/bin/sh