Compare commits

...

3 Commits

Author SHA1 Message Date
Julien Voisin b72111c4ff
Merge faa57b2081 into a7efe1b6da 2024-04-26 05:33:44 +01:00
Garfield69 a7efe1b6da lilleskyorg: -> 8.0.2 resolves #15104 2024-04-26 15:33:03 +12:00
jvoisin faa57b2081
Harden a bit the systemd unit. 2020-11-15 14:17:40 +00:00
2 changed files with 21 additions and 14 deletions

View File

@ -77,6 +77,14 @@ Environment="DOTNET_EnableDiagnostics=0"
ExecStart=/bin/sh "${JACKETT_DIR}/jackett_launcher.sh"
TimeoutStopSec=30
ProtectHome=yes
ProtectSystem=full
PrivateTmp=yes
NoNewPrivileges=yes
ProtectDevices=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
[Install]
WantedBy=multi-user.target

View File

@ -11,21 +11,15 @@ links:
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "MOVIES"}
- {id: 20, cat: Movies/Foreign, desc: "MOVIES-FOREIGN"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 19, cat: TV/Foreign, desc: "TV-FOREIGN"}
- {id: 4, cat: PC, desc: "APPS"}
- {id: 5, cat: Audio, desc: "MUSIC"}
- {id: 6, cat: XXX, desc: "XXX"}
- {id: 7, cat: Console, desc: "GAMES"}
- {id: 8, cat: Books, desc: "EBOOKS"}
- {id: 3, cat: Audio, desc: "MUSIC"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid, tvdbid, tmdbid]
movie-search: [q, imdbid, tmdbid]
music-search: [q]
book-search: [q]
# book-search: [q]
settings:
- name: apikey
@ -39,6 +33,10 @@ settings:
type: checkbox
label: Search freeleech only
default: false
- name: single_file_release_use_filename
type: checkbox
label: Use filename as title for single file releases
default: true
- name: sort
type: select
label: Sort requested from site
@ -100,7 +98,7 @@ search:
fields:
category:
selector: category_id
title:
title_optional:
selector: name
details:
selector: details_link
@ -122,10 +120,6 @@ search:
genre:
selector: meta.genres
filters:
- name: re_replace
args: ["(?i)^None$", ""]
- name: re_replace
args: ["(?i)(Science Fiction)", "Science_Fiction"]
- name: replace
args: [" & ", "_&_"]
description:
@ -170,4 +164,9 @@ search:
minimumseedtime:
# 7 days (as seconds = 7 x 24 x 60 x 60)
text: 604800
# json UNIT3D 7.2.5
title_filename:
selector: "files[0].name"
optional: true
title:
text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
# json UNIT3D 8.0.2