From d00f1f68424bbb958b8c71e465b777b0100bc8af Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 9 Jul 2023 14:23:06 +0200 Subject: [PATCH] Make sure the system user belongs to ssl-cert upon restore --- scripts/restore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/restore b/scripts/restore index e98d9b4..6e481b5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -10,6 +10,12 @@ source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers +#================================================= +# ADD USER TO THE SSL-CERT GROUP +#================================================= + +usermod -a -G ssl-cert $app + #================================================= # RESTORE THE APP MAIN DIR #=================================================