From 068a600fa57a5bf8d0231ba154fdde26e7a578aa Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Wed, 3 Apr 2024 13:14:43 -0500 Subject: fix(ssh): fix ssh-open service to return stderr --- ssh/.config/systemd/user/ssh-open.service | 8 ++++++++ ssh/.config/systemd/user/xdg-open.service | 9 --------- 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 ssh/.config/systemd/user/ssh-open.service delete mode 100644 ssh/.config/systemd/user/xdg-open.service (limited to 'ssh/.config/systemd/user') diff --git a/ssh/.config/systemd/user/ssh-open.service b/ssh/.config/systemd/user/ssh-open.service new file mode 100644 index 0000000..f0d06a4 --- /dev/null +++ b/ssh/.config/systemd/user/ssh-open.service @@ -0,0 +1,8 @@ +[Unit] +Description=xdg-open socket listener + +[Service] +ExecStart=/usr/bin/socat UNIX-LISTEN:%t/xdg-open.socket,fork,umask=007 EXEC:"xargs xdg-open",nofork,stderr + +[Install] +WantedBy=default.target diff --git a/ssh/.config/systemd/user/xdg-open.service b/ssh/.config/systemd/user/xdg-open.service deleted file mode 100644 index 42b7c66..0000000 --- a/ssh/.config/systemd/user/xdg-open.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=xdg-open socket listener - -[Service] -ExecStartPre=/usr/bin/rm -f %t/xdg-open.socket -ExecStart=/usr/bin/socat UNIX-LISTEN:%t/xdg-open.socket,fork,umask=007 EXEC:"xargs xdg-open",nofork - -[Install] -WantedBy=default.target -- cgit v1.2.3-70-g09d2