about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authoramesgen <amesgen@amesgen.de>2022-09-03 14:52:59 +0200
committeramesgen <amesgen@amesgen.de>2022-09-03 14:55:36 +0200
commit592d13693e845d52daeeb6cab8d46e192d9a9c3b (patch)
tree62a41a1c5ac46d180f25ce9c1333380f522a4b10 /nixos
parente77f54ea0b69c457f1ac4ca994db4bb4d9e0d9c1 (diff)
downloadnixlib-592d13693e845d52daeeb6cab8d46e192d9a9c3b.tar
nixlib-592d13693e845d52daeeb6cab8d46e192d9a9c3b.tar.gz
nixlib-592d13693e845d52daeeb6cab8d46e192d9a9c3b.tar.bz2
nixlib-592d13693e845d52daeeb6cab8d46e192d9a9c3b.tar.lz
nixlib-592d13693e845d52daeeb6cab8d46e192d9a9c3b.tar.xz
nixlib-592d13693e845d52daeeb6cab8d46e192d9a9c3b.tar.zst
nixlib-592d13693e845d52daeeb6cab8d46e192d9a9c3b.zip
nixos/teamspeak3: restart on failure
Prevents transient failures such as

> failed to register local accounting service
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/teamspeak3.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/teamspeak3.nix b/nixos/modules/services/networking/teamspeak3.nix
index 3be9fb31ec79..f09ef1a959ed 100644
--- a/nixos/modules/services/networking/teamspeak3.nix
+++ b/nixos/modules/services/networking/teamspeak3.nix
@@ -152,6 +152,7 @@ in
         WorkingDirectory = cfg.dataDir;
         User = user;
         Group = group;
+        Restart = "on-failure";
       };
     };
   };