summaryrefslogtreecommitdiff
path: root/net-wireless/dump1090/files/dump1090-5.0.initd
blob: 47c2d240bb5459837df80ace202e1555c97655e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

name="dump1090"
description=""
command=/usr/bin/dump1090
command_args="$RECEIVER_OPTIONS $DECODER_OPTIONS $NET_OPTIONS $JSON_OPTIONS $POSITION ${WISDOM_FILE:+--wisdom} ${WISDOM_FILE}"

depend() {
  use rtl_tcp
}
pre_start() {
	mkdir -p /run/dump1090/
}