|
From: | Jon Brase |
Subject: | Re: [gpsd-users] Issue with Rasbian Jessie |
Date: | Sat, 05 Mar 2016 15:10:29 -0600 |
User-agent: | Opera Mail/12.16 (Linux) |
Jon, Thanks for that. When I tried to execute the command I got: "Failed to execute operation: No such file or directory" David
Oops. I had done quite a bit of Google searching and trying different things with no success before I got to that point. I forgot that /etc/systemd/system/gpsd.service had been copied from /lib/systemd/system/gpsd.service.
To my understanding, the file in /lib/ is overwritten with package updates, the file in /etc/ overrides the file in /lib/ and can be used for custom configuration without risk of being overwritten.
You may also need to make changes to the file after you copy it. I have the lines regarding gpsd.socket commented out, and the following line added under the [Install] section:
WantedBy=multi-user.targetI'm not sure of the degree to which any of these changes are actually necessary, I made them while searching for a solution and they had no immediate effect until I ran the systemctl link command. Whether they had any effect at all, or whether linking a copy of the unchanged copied file would have worked, I'm not sure of.
-- Jon Brase
[Prev in Thread] | Current Thread | [Next in Thread] |