aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ssh/.config/systemd/user/ssh-open.service
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-04-03 13:14:43 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-04-03 13:14:43 -0500
commit068a600fa57a5bf8d0231ba154fdde26e7a578aa (patch)
tree7940fc605b2c3cb8757a0de6d45327d3e3c5e52f /ssh/.config/systemd/user/ssh-open.service
parenta10bebaad8a1db892551d6c50a6f0eae1150a7ae (diff)
fix(ssh): fix ssh-open service to return stderr
Diffstat (limited to 'ssh/.config/systemd/user/ssh-open.service')
-rw-r--r--ssh/.config/systemd/user/ssh-open.service8
1 files changed, 8 insertions, 0 deletions
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