Rename project to ddns-service

This commit is contained in:
2026-01-18 14:32:41 +01:00
parent d0ac96bad8
commit 27fd8ab438
18 changed files with 61 additions and 61 deletions

22
ddns-service.initd Normal file
View File

@@ -0,0 +1,22 @@
#!/sbin/openrc-run
description="DDNS Service - Dynamic DNS Update Service"
: ${USER:=ddns}
: ${GROUP:=ddns}
: ${OPTIONS:=}
command="/usr/bin/ddns-service"
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-service
}