nixos/ostinato: replace systemd script with ExecStart
This commit is contained in:
@@ -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}";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user