Skip to content

Commit

Permalink
In systemd, change gpsd to a forking service.
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-s-raymond committed May 12, 2016
1 parent 237010c commit c5fb322
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion systemd/gpsd.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ Requires=gpsd.socket
After=chronyd.service

[Service]
Type=forking
EnvironmentFile=-/etc/default/gpsd
EnvironmentFile=-/etc/sysconfig/gpsd
ExecStart=/usr/sbin/gpsd -N $GPSD_OPTIONS $OPTIONS $DEVICES
ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES

[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit c5fb322

Please sign in to comment.