From 19d1853250ab9664e5e383c6d9fb6d44caf15c1e Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 11 Jun 2015 16:47:50 +0200 Subject: [PATCH] remove unused service files --- gpsd.service | 13 ------------- gpsdctl.service | 12 ------------ 2 files changed, 25 deletions(-) delete mode 100644 gpsd.service delete mode 100644 gpsdctl.service diff --git a/gpsd.service b/gpsd.service deleted file mode 100644 index 31af6f7..0000000 --- a/gpsd.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=GPS (Global Positioning System) Daemon -Requires=gpsd.socket -# Needed with chrony SOCK refclock -After=chronyd.service - -[Service] -EnvironmentFile=-/etc/sysconfig/gpsd -ExecStart=/usr/sbin/gpsd -N $OPTIONS - -[Install] -WantedBy=multi-user.target -Also=gpsd.socket diff --git a/gpsdctl.service b/gpsdctl.service deleted file mode 100644 index 9d9fcb6..0000000 --- a/gpsdctl.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Manage %I for GPS daemon -Requires=gpsd.socket -BindsTo=dev-%i.device -After=dev-%i.device - -[Service] -Type=oneshot -EnvironmentFile=-/etc/sysconfig/gpsd -RemainAfterExit=yes -ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :" -ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl remove /dev/%I || :"