From 52ee644f5f98d9b987c2905aae294133d504b994 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 1 Dec 2024 15:29:33 +0200 Subject: [PATCH] geoclue.service.d/gpsd-socket.conf: maybe fix missing rm --- etc/systemd/system/geoclue.service.d/gpsd-socket.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/systemd/system/geoclue.service.d/gpsd-socket.conf b/etc/systemd/system/geoclue.service.d/gpsd-socket.conf index 77782fcb..4969ad44 100644 --- a/etc/systemd/system/geoclue.service.d/gpsd-socket.conf +++ b/etc/systemd/system/geoclue.service.d/gpsd-socket.conf @@ -11,7 +11,7 @@ Wants=gpsd.service gpsd.socket [Service] # Handle failure situation of the socket not going away (ExecStartPost=) -ExecStartPre=-/tmp/gps-share.sock +ExecStartPre=-rm -vf /tmp/gps-share.sock # Creating a socket for geoclue to connect to # Credit: @schnell at https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/145#note_1772702 ExecStartPost=sh -c "(gpspipe --nmea | ( read; read; read; cat ) | ncat --verbose --keep-open --listen --unixsock /tmp/gps-share.sock&)"