From 002201bc3769d974e22d9869f935585e177c9d86 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sun, 21 Apr 2024 01:48:28 -0400 Subject: [PATCH] Fix geolocation systemd service --- systemd/ip-geolocation.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/ip-geolocation.service b/systemd/ip-geolocation.service index 25ce720..cdab9e2 100644 --- a/systemd/ip-geolocation.service +++ b/systemd/ip-geolocation.service @@ -6,7 +6,7 @@ After=network-online.target [Service] Type=oneshot # Using $XDG_STATE_HOME would be preferable, but systemd/sh doesn't play nice with environment variables -ExecStart=/bin/sh -c 'curl "https://ipapi.co/json/" -o "/home/mbradley/.local/state/ip.json"' +ExecStart=/bin/sh -c 'curl "https://ipapi.co/json/" -o "/home/mbradley/.cache/ip.json"' [Install] WantedBy=default.target