remove unused service files

This commit is contained in:
Miroslav Lichvar 2015-06-11 16:47:50 +02:00
parent 8cac9552de
commit 19d1853250
2 changed files with 0 additions and 25 deletions

View File

@ -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

View File

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