mirror of
https://github.com/jeessy2/ddns-go.git
synced 2025-12-20 01:00:12 +08:00
Introduces a new flag `-d` to run the application as a daemon. The `runAsDaemon` function handles the process detachment and redirection to /dev/null. Updates the main execution flow to support this feature. Signed-off-by: He Yong <hyyoxhk@163.com>
10 KiB
10 KiB