update 04-08 13:04

This commit is contained in:
github-actions[bot] 2022-04-08 13:04:37 +08:00
parent 9a0c64c451
commit 308d2502dc
2 changed files with 5 additions and 5 deletions

View File

@ -47,8 +47,8 @@ define Package/adguardhome
endef
define Package/adguardhome/conffiles
/etc/AdGuardHome.yaml
/etc/config/AdGuardHome
/etc/adguardhome.yaml
/etc/config/adguardhome
endef
define Package/adguardhome/description
@ -78,10 +78,10 @@ endef
define Package/adguardhome/install
$(call GoPackage/Package/Install/Bin,$(1))
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/adguardhome.init $(1)/etc/init.d/AdGuardHome
$(INSTALL_BIN) ./files/adguardhome.init $(1)/etc/init.d/adguardhome
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/adguardhome.config $(1)/etc/config/AdGuardHome
$(INSTALL_DATA) ./files/adguardhome.config $(1)/etc/config/adguardhome
endef
$(eval $(call GoBinPackage,adguardhome))

View File

@ -18,7 +18,7 @@ start_service() {
[ -d "$WORK_DIR" ] || mkdir -m 0755 -p "$WORK_DIR"
procd_open_instance
procd_set_param command "$PROG" -c /etc/AdGuardHome.yaml -w "$WORK_DIR" --no-check-update
procd_set_param command "$PROG" -c /etc/adguardhome.yaml -w "$WORK_DIR" --no-check-update
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance