diff --git a/conf/systemd.service b/conf/systemd.service index f8ef3be..18a7ba1 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -20,6 +20,10 @@ PrivateTmp=yes ProtectHome=yes ProtectSystem=strict ProtectControlGroups=true +RestrictNamespaces=yes +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK +ProtectProc=invisible +DevicePolicy=closed RestrictSUIDSGID=true RestrictRealtime=true LockPersonality=true diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 7132710..e029d4a 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1,3 +1,3 @@ -A puppeting bridge between Matrix and Discord packaged as a YunoHost service. Messages, media and notifications are bridged between a Discord user and a matrix user. The "Mautrix-Discord" bridge consists in a synapse app service and relies on postgresql (mysql also available). Therefore, Synapse for YunoHost should be installed beforehand. +A puppeting bridge between Matrix and Discord packaged as a YunoHost service. Messages, media and notifications are bridged between a Discord user and a matrix user. The "Mautrix-Discord" bridge consists in a synapse app service and relies on postgresql. Therefore, Synapse for YunoHost should be installed beforehand. **Attention: always backup and restore the Yunohost matrix_synapse et mautrix_discord apps together!** diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md index 535e952..927ad2e 100644 --- a/doc/DESCRIPTION_fr.md +++ b/doc/DESCRIPTION_fr.md @@ -1,3 +1,3 @@ -Un pont entre Matrix et Discord présenté comme un service YunoHost. Les messages, les médias et les notifications sont transférés entre un utilisateur de Discord et un utilisateur de Matrix. Le pont "Mautrix-Discord" consiste en un service synapse app et repose sur postgresql (mysql également disponible). Par conséquent, Synapse pour YunoHost doit être installé au préalable. +Un pont entre Matrix et Discord présenté comme un service YunoHost. Les messages, les médias et les notifications sont transférés entre un utilisateur de Discord et un utilisateur de Matrix. Le pont "Mautrix-Discord" consiste en un service synapse app et repose sur postgresql. Par conséquent, Synapse pour YunoHost doit être installé au préalable. **Attention : toujours sauvegarder et restaurer les applications matrix_synapse et mautrix_discord de Yunohost ensemble ! \ No newline at end of file diff --git a/manifest.toml b/manifest.toml index 6de41d9..4cd1681 100644 --- a/manifest.toml +++ b/manifest.toml @@ -62,7 +62,7 @@ ram.runtime = "1024M" ask.fr = "Choisissez le/les compte(s) Matrix autorisés à utiliser la passerelle Discord." type = "string" example = "@johndoe:server.name or server.name or *" - + # FIXME this help make the installation crash when installing through the CLI. [install.bot_synapse_adm] ask.en = "Give the Discord bot administrator rights to the Synapse instance?"