Initial commit

This commit is contained in:
2026-01-18 06:16:15 +01:00
commit 0c24eb19f7
21 changed files with 3069 additions and 0 deletions

22
ddns-daemon.initd Normal file
View File

@@ -0,0 +1,22 @@
#!/sbin/openrc-run
description="DDNS Daemon - Dynamic DNS Update Service"
: ${USER:=ddns}
: ${GROUP:=ddns}
: ${OPTIONS:=}
command="/usr/bin/ddns-daemon"
command_args="--daemon ${OPTIONS}"
command_user="${USER}:${GROUP}"
command_background="yes"
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
after dns
}
start_pre() {
checkpath --directory --owner ${USER}:${GROUP} --mode 0750 /var/lib/ddns-daemon
}