mirror of
https://github.com/YunoHost-Apps/filebrowser_ynh.git
synced 2024-09-03 18:36:05 +02:00
Merge pull request #22 from YunoHost-Apps/testing
Update systemd.service
This commit is contained in:
commit
c9d67a9180
4 changed files with 48 additions and 14 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.
|
||||
|
||||
|
||||
**Shipped version:** 2.23.0~ynh2
|
||||
**Shipped version:** 2.23.0~ynh3
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
22
README_fr.md
22
README_fr.md
|
@ -5,24 +5,24 @@ It shall NOT be edited by hand.
|
|||
|
||||
# Filebrowser pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/filebrowser)  
|
||||
[](https://dash.yunohost.org/appci/app/filebrowser)  
|
||||
[](https://install-app.yunohost.org/?app=filebrowser)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
||||
> *Ce package vous permet d'installer Filebrowser rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||
> *Ce package vous permet d’installer Filebrowser rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
|
||||
|
||||
## Vue d'ensemble
|
||||
## Vue d’ensemble
|
||||
|
||||
filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware.
|
||||
|
||||
|
||||
**Version incluse :** 2.23.0~ynh2
|
||||
**Version incluse :** 2.23.0~ynh3
|
||||
|
||||
## Captures d'écran
|
||||
## Captures d’écran
|
||||
|
||||

|
||||

|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
|
@ -41,9 +41,9 @@ By default, the root path is set to `/home/yunohost.app/filebrowser`. You can ch
|
|||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : <https://filebrowser.org>
|
||||
* Documentation officielle de l'admin : <https://filebrowser.org/>
|
||||
* Dépôt de code officiel de l'app : <https://github.com/filebrowser/filebrowser>
|
||||
* Site officiel de l’app : <https://filebrowser.org>
|
||||
* Documentation officielle de l’admin : <https://filebrowser.org/>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/filebrowser/filebrowser>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_filebrowser>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/filebrowser_ynh/issues>
|
||||
|
||||
|
@ -59,4 +59,4 @@ ou
|
|||
sudo yunohost app upgrade filebrowser -u https://github.com/YunoHost-Apps/filebrowser_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
|
@ -9,5 +9,39 @@ Group=__APP__
|
|||
WorkingDirectory=__FINALPATH__/
|
||||
ExecStart=__FINALPATH__/filebrowser -p __PORT__ -c __FINALPATH__/settings.json
|
||||
|
||||
# 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 AF_NETLINK
|
||||
RestrictNamespaces=yes
|
||||
RestrictRealtime=yes
|
||||
DevicePolicy=closed
|
||||
ProtectClock=yes
|
||||
ProtectHostname=yes
|
||||
ProtectProc=invisible
|
||||
ProtectSystem=full
|
||||
ProtectControlGroups=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelTunables=yes
|
||||
LockPersonality=yes
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged
|
||||
|
||||
# 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": "Web File Browser",
|
||||
"fr": "Gestionnaire de fichiers"
|
||||
},
|
||||
"version": "2.23.0~ynh2",
|
||||
"version": "2.23.0~ynh3",
|
||||
"url": "https://filebrowser.org",
|
||||
"upstream": {
|
||||
"license": "Apache-2.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue