From 6cb86e8b2d0202f01d76e18a8806813faca9d16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Mon, 11 Dec 2023 20:14:48 -0100 Subject: [PATCH] Add an openrc file for use in alpine linux (#3) --- .gitignore | 2 +- openrc/avahi2dns | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 openrc/avahi2dns diff --git a/.gitignore b/.gitignore index ab67fb2..e86ffc4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ *.out vendor/ -avahi2dns +/avahi2dns diff --git a/openrc/avahi2dns b/openrc/avahi2dns new file mode 100755 index 0000000..f837777 --- /dev/null +++ b/openrc/avahi2dns @@ -0,0 +1,8 @@ +#!/sbin/openrc-run + +output_logger=logger +error_logger=logger +command_background=true +command="avahi2dns" +command_args="" +pidfile="/run/avahi2dns.pid"