Simplify ExecStart

This commit is contained in:
Sridhar Ratnakumar 2023-06-14 12:07:32 -04:00
parent 7fc9abf8e1
commit bbc4d756d5

View File

@ -73,14 +73,9 @@ in
wantedBy = [ "default.target" ];
serviceConfig = {
WorkingDirectory = "/tmp";
ExecStart = lib.getExe (pkgs.writeShellApplication {
name = "process-compose-${name}";
text = ''
set -x
echo "Launching process-compose on ${name} ..."
${lib.getExe config.outputs.package} -t=false
'';
});
ExecStart = ''
${lib.getExe config.outputs.package} -t=false
'';
};
};
};