Updated Installation on OpenWrt (markdown)

Diego Heras 2022-07-31 21:13:06 +02:00
parent e07883574b
commit b341f2e97a
1 changed files with 6 additions and 7 deletions

@ -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