remove unused service files
This commit is contained in:
parent
8cac9552de
commit
19d1853250
13
gpsd.service
13
gpsd.service
@ -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
|
|
@ -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 || :"
|
|
Loading…
Reference in New Issue
Block a user