Allow read/write on /run

This commit is contained in:
niten 2023-01-22 15:03:05 -08:00
parent 8f25a59324
commit 48cac03ec9
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ in {
RestartSec = "5s";
Type = "simple";
PIDFile = "/run/objectifier.pid";
ReadWritePaths = [ "/run" ];
ExecStart = let
bindClause = concatStringsSep " "
(map (addr: "--bind ${addr}:${toString cfg.port}")