From d56f0aeeb899a84f3712257a5b9b15b1dc97fc20 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Sat, 1 Jun 2019 11:11:05 +0200 Subject: Added service file --- geolocate.service | 10 ++++++++++ location.service | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 geolocate.service delete mode 100644 location.service diff --git a/geolocate.service b/geolocate.service new file mode 100644 index 0000000..24c811a --- /dev/null +++ b/geolocate.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 diff --git a/location.service b/location.service deleted file mode 100644 index 24c811a..0000000 --- a/location.service +++ /dev/null @@ -1,10 +0,0 @@ -[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