mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
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 <ansuelsmth@gmail.com>
This commit is contained in:
@@ -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 <peter.stadler@student.uibk.ac.at>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user