mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
@@ -105,6 +105,7 @@ programs = {
|
|||||||
Unit = { Description = "WSL Proxy"; };
|
Unit = { Description = "WSL Proxy"; };
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
||||||
|
exec 2> >(tee -a -i "$HOME/error.log")
|
||||||
rm -f /home/sstent/.ssh/wsl-ssh-agent.sock
|
rm -f /home/sstent/.ssh/wsl-ssh-agent.sock
|
||||||
${pkgs.util-linux}/bin/setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/home/sstent/.ssh/wsl-ssh-agent.sock,fork EXEC:"${pkgs.npiperelay}/bin/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
|
${pkgs.util-linux}/bin/setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/home/sstent/.ssh/wsl-ssh-agent.sock,fork EXEC:"${pkgs.npiperelay}/bin/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
|
||||||
''}";
|
''}";
|
||||||
|
|||||||
Reference in New Issue
Block a user