Verified Commit 37859dc3 authored by Clayton Craft's avatar Clayton Craft
Browse files

services: add initial openrc and systemd service files

parent 0423b83a
#!/sbin/openrc-run
# Copyright 2021 Clayton Craft
# SPDX-License-Identifier: GPL-3.0-or-later
command=/usr/bin/gnss_share
command_args="--syslog -v"
command_background=true
depend () {
provide gpsd
before geoclue
}
[Unit]
Description=Manage access to and AGPS on GNSS devices
Before=gpsd.service gpsd.socket geoclue.service
[Service]
Type=oneshot
ExecStart=/usr/bin/gnss_share -v
[Install]
WantedBy=multi-user.target
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