Skip to content

Commit

Permalink
fix #1073: put overmind socket into /run/user/1000/devenv-0fcf29a
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Apr 19, 2024
1 parent 3e601be commit 5541a7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/process-managers/overmind.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ in
};
config = lib.mkIf cfg.enable {
processManagerCommand = ''
OVERMIND_ENV=${config.procfileEnv} ${cfg.package}/bin/overmind start --root ${config.env.DEVENV_ROOT} --procfile ${config.procfile} "$@" &
OVERMIND_ENV=${config.procfileEnv} ${cfg.package}/bin/overmind start \
--root ${config.env.DEVENV_ROOT} \
--socket ${config.devenv.runtime}/overmind.sock \
--procfile ${config.procfile} "$@" &
'';

packages = [ cfg.package ];
Expand Down

0 comments on commit 5541a7a

Please sign in to comment.