From e499f0adf12a1a15079f9c9fcbe7b34ff3003f72 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Mon, 15 May 2023 18:44:52 +0200 Subject: [PATCH] nginx-util: add version to UCI conf template Add versioning to UCI conf template as a commented version. This permits the introduction of migration script since the template is saved and restored config restore. The migration script are handled by nginx init.d script. Signed-off-by: Christian Marangi --- net/nginx-util/Makefile | 2 +- net/nginx-util/files/uci.conf.template | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/nginx-util/Makefile b/net/nginx-util/Makefile index 52cdbb4ea..ce08d6628 100644 --- a/net/nginx-util/Makefile +++ b/net/nginx-util/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nginx-util PKG_VERSION:=1.6 -PKG_RELEASE:=16 +PKG_RELEASE:=17 PKG_MAINTAINER:=Peter Stadler include $(INCLUDE_DIR)/package.mk diff --git a/net/nginx-util/files/uci.conf.template b/net/nginx-util/files/uci.conf.template index 406ddb4cc..b56b1119e 100644 --- a/net/nginx-util/files/uci.conf.template +++ b/net/nginx-util/files/uci.conf.template @@ -1,6 +1,7 @@ # Consider using UCI or creating files in /etc/nginx/conf.d/ for configuration. # Parsing UCI configuration is skipped if uci set nginx.global.uci_enable=false # For details see: https://openwrt.org/docs/guide-user/services/webserver/nginx +# UCI_CONF_VERSION=1.1 worker_processes auto;