PKG_NAME:=natmap
PKG_VERSION:=20240303
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/heiher/natmap/releases/download/$(PKG_VERSION)
option forward_target ''
option forward_port ''
option notify_script ''
+ option log_stdout '1'
+ option log_stderr '1'
'port:port' \
'forward_target:host' \
'forward_port:port' \
- 'notify_script:file'
+ 'notify_script:file' \
+ 'log_stdout:bool:1' \
+ 'log_stderr:bool:1'
}
natmap_instance() {
procd_append_param command -e /usr/lib/natmap/update.sh
procd_set_param respawn
- procd_set_param stdout 1
- procd_set_param stderr 1
+ procd_set_param stdout "${log_stdout}"
+ procd_set_param stderr "${log_stderr}"
procd_close_instance
}