Fix geolocation systemd service
This commit is contained in:
parent
1db76530fd
commit
002201bc37
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ After=network-online.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
# Using $XDG_STATE_HOME would be preferable, but systemd/sh doesn't play nice with environment variables
|
# 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]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue