1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

go-webring: fix module

This commit is contained in:
2025-10-02 19:21:00 +02:00
parent d458fb333f
commit 8699f09307
2 changed files with 4 additions and 5 deletions

View File

@@ -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;