summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeemu Ikonen <tpikonen@mailbox.org>2022-10-24 11:28:21 +0300
committerTeemu Ikonen <tpikonen@mailbox.org>2022-10-24 11:28:21 +0300
commita55afb6e377d18d200fa0d5ee57797e86e7b85de (patch)
tree086e267d9f70d338edec8d69b76c861f12dd03ab
parent93351f169bc57bc993d7dbaacce601ec25b1c60f (diff)
downloadgeoclue-a55afb6e377d18d200fa0d5ee57797e86e7b85de.tar.gz
data: Set env var GSETTINGS_BACKEND=memory in geoclue.service.in
This prevents "Read-only file system. dconf will not work properly." warnings from the dconf GSettings backend, when GeoClue is run with ProtectSystem=strict, i.e. a read-only homedir.
-rw-r--r--data/geoclue.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/geoclue.service.in b/data/geoclue.service.in
index 6449d30..ec5507d 100644
--- a/data/geoclue.service.in
+++ b/data/geoclue.service.in
@@ -5,6 +5,7 @@ Description=Location Lookup Service
Type=dbus
BusName=org.freedesktop.GeoClue2
User=@dbus_srv_user@
+Environment="GSETTINGS_BACKEND=memory"
ExecStart=@libexecdir@/geoclue
# Filesystem lockdown