1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-03 05:36:44 +00:00

Revert 3c619f64c99e045fcb25b80454d4cd748c86045b...93b31c43bfcf2ef1090dca316dc38046c06e8550 on Installation on OpenWrt

ilike2burnthing 2022-10-23 01:28:53 +01:00
parent 53f02c9e5c
commit 8775eaff66

@ -4,12 +4,12 @@ You need to install the following dependencies: icu, libstdcpp6, libintl, whoami
`opkg update && opkg install icu70 icu-full-data70 libstdcpp6 libintl-full8 procps-ng procps-ng-pgrep coreutils-whoami` `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://yip.su/2DhP16) 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` 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`. 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://yip.su/2DhP16), open a Terminal, cd to the Jackett folder and run Jackett with the command `./jackett_launcher.sh` 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. 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.