From da236e6e1b8f2910d387bd741e084c8c9ecf94a6 Mon Sep 17 00:00:00 2001 From: Christian Hagenest Date: Sat, 18 May 2024 16:06:48 +0200 Subject: [PATCH] only restart journald if conf was changed --- cmdeploy/src/cmdeploy/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmdeploy/src/cmdeploy/__init__.py b/cmdeploy/src/cmdeploy/__init__.py index 757e3514..db2f7940 100644 --- a/cmdeploy/src/cmdeploy/__init__.py +++ b/cmdeploy/src/cmdeploy/__init__.py @@ -642,5 +642,6 @@ def deploy_chatmail(config_path: Path) -> None: service="systemd-journald.service", running=True, enabled=True, - restarted=journald_conf, + restarted=journald_conf.changed, ) +