nixos/ostinato: replace systemd script with ExecStart

This commit is contained in:
h7x4
2025-10-27 18:52:10 +09:00
parent 04f4eb3a3e
commit 137a04832d
@@ -108,9 +108,7 @@ in
systemd.services.drone = {
description = "Ostinato agent-controller";
wantedBy = [ "multi-user.target" ];
script = ''
${pkg}/bin/drone ${toString cfg.port} ${configFile}
'';
serviceConfig.ExecStart = "${pkg}/bin/drone ${toString cfg.port} ${configFile}";
};
};