write crashdumps as logfiles

This commit is contained in:
2026-07-18 18:43:56 +09:00
parent 267af00ebd
commit 422f383fd8
2 changed files with 15 additions and 1 deletions
+4 -1
View File
@@ -102,7 +102,10 @@ in {
Type = "oneshot";
ExecStart = "${lib.getExe cfg.package} --config /etc/dibbler/dibbler.toml create-db";
ExecStartPost = "${lib.getExe' pkgs.coreutils "touch"} /var/lib/dibbler/.db-setup-done";
StateDirectory = "dibbler";
StateDirectory = [
"dibbler"
"dibbler/crashdumps"
];
User = "dibbler";
Group = "dibbler";