From 55a84cf7d21c1807ca653f8b2485b2959d26e3c2 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Sat, 1 Jun 2019 10:55:34 +0200 Subject: Added service file --- location.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 location.service 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 -- cgit 1.4.1