diff options
Diffstat (limited to 'location.service')
| -rw-r--r-- | location.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/location.service b/location.service new file mode 100644 index 0000000..24c811a --- /dev/null +++ b/location.service @@ -0,0 +1,10 @@ +[Unit] +Description=Writes to a file your approximate location (needs internet connection) +Wants=network-online.target +After=network.target network-online.target + +[Service] +ExecStart=/usr/bin/geolocate >> ~/.location + +[Install] +WantedBy=multi-user.target |