mirror of
https://github.com/YunoHost-Apps/komga_ynh.git
synced 2024-09-03 19:36:07 +02:00
commit
2ca68d5431
5 changed files with 35 additions and 5 deletions
|
@ -29,7 +29,7 @@ Komga is a free and open source comics/mangas server.
|
|||
- Download book files
|
||||
|
||||
|
||||
**Shipped version:** 0.120.1~ynh1
|
||||
**Shipped version:** 0.125.0~ynh1
|
||||
|
||||
**Demo:** https://demo.komga.org
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ Komga is a free and open source comics/mangas server.
|
|||
- Download book files
|
||||
|
||||
|
||||
**Version incluse :** 0.120.1~ynh1
|
||||
**Version incluse :** 0.125.0~ynh1
|
||||
|
||||
**Démo :** https://demo.komga.org
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/gotson/komga/releases/download/v0.120.1/komga-0.120.1.jar
|
||||
SOURCE_SUM=3823c1fe63503ab9928ccafe7f15009820326b5f380b648bbff8254266a29070
|
||||
SOURCE_URL=https://github.com/gotson/komga/releases/download/v0.125.0/komga-0.125.0.jar
|
||||
SOURCE_SUM=ef676f83d05218d29ad84a54bac23c52d600ec6a8ba295f6d0b084124d83bc85
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=jar
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -11,5 +11,35 @@ ExecStart=/usr/bin/java -jar -Xmx1g komga.jar --server.port=__PORT__ --server.se
|
|||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
# Sandboxing options to harden security
|
||||
# Depending on specificities of your service/app, you may need to tweak these
|
||||
# .. but this should be a good baseline
|
||||
# Details for these options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
|
||||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
RestrictNamespaces=yes
|
||||
RestrictRealtime=yes
|
||||
DevicePolicy=closed
|
||||
ProtectSystem=full
|
||||
ProtectControlGroups=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
LockPersonality=yes
|
||||
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap
|
||||
|
||||
# Denying access to capabilities that should not be relevant for webapps
|
||||
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||
CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
|
||||
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
|
||||
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT
|
||||
CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK
|
||||
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM
|
||||
CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG
|
||||
CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE
|
||||
CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW
|
||||
CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Media server for your comics, manga and magazines",
|
||||
"fr": "Serveur multimédia pour vos bandes dessinées, mangas et magazines"
|
||||
},
|
||||
"version": "0.120.1~ynh1",
|
||||
"version": "0.125.0~ynh1",
|
||||
"url": "https://komga.org",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
|
Loading…
Add table
Reference in a new issue