diff options
author | WilliButz <wbutz@cyberfnord.de> | 2019-12-12 23:14:20 +0100 |
---|---|---|
committer | WilliButz <wbutz@cyberfnord.de> | 2019-12-12 23:19:07 +0100 |
commit | 727f2e9a3e1da1e6f63aaabd607c66d9adf82ce3 (patch) | |
tree | be42feb4842382157d762299012b56bbb175c2a8 /nixos | |
parent | 286ef7108f4f3dff3eb3759284c619199d38fcd6 (diff) |
nixos/oxidized: specify PID file in service
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/admin/oxidized.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/admin/oxidized.nix b/nixos/modules/services/admin/oxidized.nix index da81be3f23e85..885eaed1de6f3 100644 --- a/nixos/modules/services/admin/oxidized.nix +++ b/nixos/modules/services/admin/oxidized.nix @@ -111,6 +111,7 @@ in Restart = "always"; WorkingDirectory = cfg.dataDir; KillSignal = "SIGKILL"; + PIDFile = "${cfg.dataDir}.config/oxidized/pid"; }; }; }; |