git add galmon.docs galmon.navnexus.service galmon.navrecv.service galmon.navstar.default
parent
71a9cad2a4
commit
7388777f69
|
@ -0,0 +1,6 @@
|
||||||
|
Building.md
|
||||||
|
influxdb.md
|
||||||
|
Operator.md
|
||||||
|
PACKAGE-DEBIAN.md
|
||||||
|
README.md
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
[Unit]
|
||||||
|
Description=galmon navnexus (serve recorded data on port 29601)
|
||||||
|
After=network.target nss-lookup.target
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
# require that the pre-installed configuration file exists
|
||||||
|
ConditionPathExists=/etc/default/navstar
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
# Customize $DAEMON_OPTS_NAVNEXUS in /etc/default/navstar
|
||||||
|
EnvironmentFile=-/etc/default/navstar
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
RestartSec=4
|
||||||
|
User=ubxtool
|
||||||
|
Group=ubxtool
|
||||||
|
RuntimeDirectory=navnexus
|
||||||
|
ExecStart=/usr/bin/navnexus $DAEMON_OPTS_NAVNEXUS
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,20 @@
|
||||||
|
[Unit]
|
||||||
|
Description=galmon navrecv (receive data on port 29603)
|
||||||
|
After=network.target nss-lookup.target
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
# require that the pre-installed configuration file exists
|
||||||
|
ConditionPathExists=/etc/default/navstar
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
# Customize $DAEMON_OPTS_NAVRECV in /etc/default/navstar
|
||||||
|
EnvironmentFile=-/etc/default/navstar
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
|
User=ubxtool
|
||||||
|
Group=ubxtool
|
||||||
|
RuntimeDirectory=navrecv
|
||||||
|
ExecStart=/usr/bin/navrecv $DAEMON_OPTS_NAVRECV
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Copyright 2020 AHU Holding BV - bert@hubertnet.nl - https://berthub.eu/
|
||||||
|
# This package is free software: /usr/share/common-licenses/GPL-3
|
||||||
|
#
|
||||||
|
# Here are daemon options used by the navrecv and navnexus services
|
||||||
|
DAEMON_OPTS_NAVNEXUS="/var/lib/galmon/storage ::"
|
||||||
|
DAEMON_OPTS_NAVRECV=":: /var/lib/galmon/storage"
|
||||||
|
#
|
||||||
|
DAEMON_OPTS_NAVPARSE="[::]:10000 html galileo"
|
|
@ -9,5 +9,12 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- prefix=/usr
|
dh_auto_install -- prefix=/usr
|
||||||
|
|
||||||
|
# override to install /etc/default/navstar alongside /etc/default/galmon
|
||||||
|
override_dh_installinit:
|
||||||
|
dh_installinit --name=navstar
|
||||||
|
dh_installinit
|
||||||
|
|
||||||
override_dh_installsystemd:
|
override_dh_installsystemd:
|
||||||
|
dh_installsystemd --no-enable --no-start --name=navnexus navnexus.service
|
||||||
|
dh_installsystemd --no-enable --no-start --name=navrecv navrecv.service
|
||||||
dh_installsystemd --no-enable --no-start --name=ubxtool@ ubxtool@.service
|
dh_installsystemd --no-enable --no-start --name=ubxtool@ ubxtool@.service
|
||||||
|
|
Loading…
Reference in New Issue