1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreddit_ynh.git synced 2024-09-03 19:36:05 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-05-12 12:44:44 +02:00 committed by GitHub
commit 5826af1e62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 3 deletions

View file

@ -25,7 +25,7 @@ Libreddit is a portmanteau of "libre" (meaning freedom) and "Reddit". It is a pr
🔒 Secure: strong Content Security Policy prevents browser requests to Reddit
**Shipped version:** 0.22.6~ynh1
**Shipped version:** 0.22.6~ynh2
**Demo:** https://libreddit.spike.codes/

View file

@ -21,7 +21,7 @@ Libreddit is a portmanteau of "libre" (meaning freedom) and "Reddit". It is a pr
🔒 Secure: strong Content Security Policy prevents browser requests to Reddit
**Version incluse :** 0.22.6~ynh1
**Version incluse :** 0.22.6~ynh2
**Démo :** https://libreddit.spike.codes/

View file

@ -14,5 +14,27 @@ Environment=PORT=__PORT__
EnvironmentFile=-__FINALPATH__/libreddit.conf
ExecStart=__FINALPATH__/libreddit -a ${ADDRESS} -p ${PORT}
# Hardening
DeviceAllow=
LockPersonality=yes
MemoryDenyWriteExecute=yes
PrivateDevices=yes
ProcSubset=pid
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectProc=invisible
RestrictAddressFamilies=AF_INET AF_INET6
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service ~@privileged ~@resources
UMask=0077
[Install]
WantedBy=multi-user.target

View file

@ -6,7 +6,7 @@
"en": "Libre alternative to Reddit",
"fr": "Alternative libre à Reddit"
},
"version": "0.22.6~ynh1",
"version": "0.22.6~ynh2",
"url": "https://libreddit.spike.codes/",
"upstream": {
"license": "AGPL-3.0",