1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/dnsfunnel/dnsfunnel.initd
2021-01-21 11:59:14 +00:00

17 lines
424 B
Text

#!/sbin/openrc-run
# Copyright 2020 Laurent Bercot for Alpine Linux
# Distributed under the terms of the ISC License.
#
name=dnsfunnel
description="local DNS cache daemon"
command=dnsfunneld
command_args="-v2 -u `id -u dnsfunnel` -g `id -g dnsfunnel` -xn"
command_background=true
directory=/run/dnsfunnel/root
pidfile=/run/dnsfunnel/dnsfunnel.pid
start_pre() {
mkdir -p -m 0755 /run/dnsfunnel/root
dnsfunnel-translate
}