summaryrefslogtreecommitdiffstats
path: root/tv/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-29 13:44:45 +0100
committertv <tv@krebsco.de>2022-12-29 15:24:39 +0100
commitb3c5492b696e02468604fbe00abdc36cb02eb22b (patch)
treea9a3ec32eab8f657271b279f9115829fa6446175 /tv/3modules
parent2a63d78060295a4a59b2d90c48480625a592da71 (diff)
krebs.systemd.restartIfCredentialsChange: default = false
Diffstat (limited to 'tv/3modules')
-rw-r--r--tv/3modules/ejabberd/default.nix2
-rw-r--r--tv/3modules/x0vncserver.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/tv/3modules/ejabberd/default.nix b/tv/3modules/ejabberd/default.nix
index e3a41a57b..71a1a597a 100644
--- a/tv/3modules/ejabberd/default.nix
+++ b/tv/3modules/ejabberd/default.nix
@@ -127,7 +127,7 @@ in {
})
];
- krebs.systemd.services.ejabberd = {};
+ krebs.systemd.services.ejabberd.restartIfCredentialsChange = true;
systemd.services.ejabberd = {
wantedBy = [ "multi-user.target" ];
diff --git a/tv/3modules/x0vncserver.nix b/tv/3modules/x0vncserver.nix
index f19bfebcc..eb9b1ae4e 100644
--- a/tv/3modules/x0vncserver.nix
+++ b/tv/3modules/x0vncserver.nix
@@ -26,7 +26,7 @@ in {
};
};
config = mkIf cfg.enable {
- krebs.systemd.services.x0vncserver = {};
+ krebs.systemd.services.x0vncserver.restartIfCredentialsChange = true;
systemd.services.x0vncserver = {
after = [ "graphical.target" ];
requires = [ "graphical.target" ];