aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-10-10 14:29:29 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-10-10 14:29:29 -0500
commit9919e07f108fffe200ef70971c70105d085d20f9 (patch)
treeabaf39d710fd91dfa61e01e05e043fe800d8d623
parent7cc9078b86319e9068447980906d120dc050d1e5 (diff)
fix(xdg-open): remove sock before starting service
-rw-r--r--ssh/.config/systemd/user/xdg-open.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh/.config/systemd/user/xdg-open.service b/ssh/.config/systemd/user/xdg-open.service
index 7113f44..cb96d9e 100644
--- a/ssh/.config/systemd/user/xdg-open.service
+++ b/ssh/.config/systemd/user/xdg-open.service
@@ -2,6 +2,7 @@
Description=xdg-open socket listener
[Service]
+ExecStartPre=/usr/bin/rm %t/xdg-open.socket
ExecStart=/usr/bin/socat UNIX-LISTEN:%t/xdg-open.socket,fork,umask=007 EXEC:"xargs xdg-open",nofork
[Install]