mirror of
https://github.com/YunoHost-Apps/libreddit_ynh.git
synced 2024-09-03 19:36:05 +02:00
commit
5826af1e62
4 changed files with 25 additions and 3 deletions
|
@ -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
|
🔒 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/
|
**Demo:** https://libreddit.spike.codes/
|
||||||
|
|
||||||
|
|
|
@ -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
|
🔒 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/
|
**Démo :** https://libreddit.spike.codes/
|
||||||
|
|
||||||
|
|
|
@ -14,5 +14,27 @@ Environment=PORT=__PORT__
|
||||||
EnvironmentFile=-__FINALPATH__/libreddit.conf
|
EnvironmentFile=-__FINALPATH__/libreddit.conf
|
||||||
ExecStart=__FINALPATH__/libreddit -a ${ADDRESS} -p ${PORT}
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Libre alternative to Reddit",
|
"en": "Libre alternative to Reddit",
|
||||||
"fr": "Alternative libre à Reddit"
|
"fr": "Alternative libre à Reddit"
|
||||||
},
|
},
|
||||||
"version": "0.22.6~ynh1",
|
"version": "0.22.6~ynh2",
|
||||||
"url": "https://libreddit.spike.codes/",
|
"url": "https://libreddit.spike.codes/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue