|
From: | Paul Theodoropoulos |
Subject: | Re: Installing 3.20 gpsd from source on Raspberry Pi cards old and new. |
Date: | Mon, 15 Jun 2020 12:58:48 -0700 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 6/15/2020 11:44 AM, Gary E. Miller wrote:
Yo Bernd! On Mon, 15 Jun 2020 17:32:20 +0200 Bernd Zeimetz <bernd@bzed.de> wrote:Yes of course, you can start stuff with two lines of init and just wait until your system kills it on shutdown. But hey, you can have the same with systemd, if you want it with two lines.Please illuminate us. Even better fix the systemd doc in gpsd that confuses everyone.
Purely an academic exercise, since the size of a startup file is about as meaningful as uptime boasts, this is the shortest functional startup file I could create, three lines:
[Service] Type=forking ExecStart=/usr/local/sbin/gpsd -n -r -P /run/gpsd.pid /dev/gpsd0 -- Paul Theodoropoulos www.anastrophe.com
[Prev in Thread] | Current Thread | [Next in Thread] |