From 253ddb0c181e9588c3af51f6584f09744583fdcb Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 12 Jul 2022 17:28:19 -0700 Subject: [PATCH] roundcube: Configure to log to journald Tests: - On a fresh container, install roundcube. log_driver is set to syslog in freedombox-config.conf. - Install roundcube without the changes. Enable local only. Apply the changes and restart service. roundcube setup is run. log_driver is set to syslog in freedombox-config.conf. Setting is still local-only. - Install roundcube without the changes. Disable local only. Apply the changes and restart service. roundcube setup is run. log_driver is set to syslog in freedombox-config.conf. Setting is still not local-only. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- actions/roundcube | 7 +++++-- plinth/modules/roundcube/__init__.py | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/actions/roundcube b/actions/roundcube index b0d7206fc..8b22bffcb 100755 --- a/actions/roundcube +++ b/actions/roundcube @@ -70,9 +70,12 @@ def subcommand_get_config(_): def subcommand_set_config(arguments): """Set the configuration.""" - config = '