This unit is provided by:
Options
-
[Service]
-
Environment="GPSD_SOCKET=/run/gpsd.sock"
-
EnvironmentFile=-/etc/default/gpsd
-
EnvironmentFile=-/etc/default/gpsd -/etc/sysconfig/gpsd
-
ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/bin/gpsdctl add /dev/%I || :"
-
ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :"
-
ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/bin/gpsdctl remove /dev/%I || :"
-
ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl remove /dev/%I || :"
-
ProtectClock
Introduced in systemd 245=no -
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
RemainAfterExit=yes
-
RestrictRealtime
Introduced in systemd 231=yes -
Type=oneshot
-
-
[Unit]
-
After=dev-%i.device
-
BindsTo=dev-%i.device
-
Description=Manage %I for GPS daemon
-
Requires=gpsd.socket
-
Additionnal notes
Nothing here.