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 || :"