Skip to content

Commit

Permalink
process-managers: simplify arg building
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Oct 7, 2024
1 parent b52b8f3 commit 1502a9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/process-managers/hivemind.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ in

process.manager.command = lib.mkDefault ''
${cfg.package}/bin/hivemind \
${lib.concatStringsSep " " (lib.cli.toGNUCommandLine {} config.process.manager.args)} \
${lib.cli.toGNUCommandLineShell {} config.process.manager.args} \
"$@" ${config.procfile} &
'';

Expand Down
2 changes: 1 addition & 1 deletion src/modules/process-managers/honcho.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ in

process.manager.command = lib.mkDefault ''
${cfg.package}/bin/honcho start \
${lib.concatStringsSep " " (lib.cli.toGNUCommandLine {} config.process.manager.args)} \
${lib.cli.toGNUCommandLineShell {} config.process.manager.args} \
"$@" &
'';

Expand Down
2 changes: 1 addition & 1 deletion src/modules/process-managers/overmind.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ in

process.manager.command = lib.mkDefault ''
OVERMIND_ENV=${config.procfileEnv} ${cfg.package}/bin/overmind start \
${lib.concatStringsSep " " (lib.cli.toGNUCommandLine {} config.process.manager.args)} \
${lib.cli.toGNUCommandLineShell {} config.process.manager.args} \
"$@" &
'';

Expand Down

0 comments on commit 1502a9f

Please sign in to comment.