Verified Commit 63ca3343 authored by Clayton Craft's avatar Clayton Craft
Browse files

openrc: fix service init script

Can't 'provide' a real service, and having a pidfile is mandatory for
services that use command_background=true

The retry= gives a long enough timeout from sending TERM for the app
to save data from the gps before quitting. Without this, openrc defaults
to sending KILL 5 seconds after TERM
parent e56580dc
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
command=/usr/bin/gnss_share command=/usr/bin/gnss_share
command_args="--syslog -v" command_args="--syslog -v"
command_background=true command_background=true
depend () { depend () {
provide gpsd
before geoclue before geoclue
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment