From 8699f09307d1b819b5762403e63cb16a6840fca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 2 Oct 2025 19:21:00 +0200 Subject: [PATCH] go-webring: fix module --- modules/go-webring.nix | 6 ++---- systems/ful/go-webring.nix | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/go-webring.nix b/modules/go-webring.nix index 2a7cbf1..52bee08 100644 --- a/modules/go-webring.nix +++ b/modules/go-webring.nix @@ -81,7 +81,7 @@ in after = [ "network.target" ]; requires = [ "network.target" ]; serviceConfig = { - Type = "notify"; + Type = "simple"; ExecStart = '' ${lib.getExe cfg.package} \ ${lib.optionalString (cfg.contactInstructions != null) ("--contact " + lib.escapeShellArg cfg.contactInstructions)} \ @@ -90,7 +90,7 @@ in --listen ${cfg.listenAddress} \ --members ${ pkgs.writeText "list.txt" ( - lib.concatMapStringsSep "\n" (member: member.username + " " + member.site) cfg.members + lib.concatMapStrings (member: member.username + " " + member.site + "\n") cfg.members ) } ''; @@ -100,8 +100,6 @@ in WorkingDirectory = "/var/lib/go-webring"; StateDirectory = "go-webring"; RuntimeDirectoryMode = "0750"; - WatchdogSec = 60; - WatchdogSignal = "SIGKILL"; Restart = "always"; RestartSec = 5; diff --git a/systems/ful/go-webring.nix b/systems/ful/go-webring.nix index 65b7981..b790b45 100644 --- a/systems/ful/go-webring.nix +++ b/systems/ful/go-webring.nix @@ -22,8 +22,9 @@ in

Willkommen beim Dichtungs-Ring

+

Ein Webring für die Dichtung.

- {{ . }} + {{ . }}