Sync with development-SDXPINN

This commit is contained in:
iamromulan
2024-10-06 02:56:50 -04:00
parent 8ac1dda904
commit 624a74be0d
234 changed files with 107827 additions and 277 deletions

20
unused/init.d/nginx Normal file
View File

@@ -0,0 +1,20 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2015 OpenWrt.org
START=80
USE_PROCD=1
start_service() {
[ -d /var/log/nginx ] || mkdir -p /var/log/nginx
[ -d /var/lib/nginx ] || mkdir -p /var/lib/nginx
procd_open_instance
procd_set_param command /usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
procd_set_param file /etc/nginx/nginx.conf
procd_close_instance
}
stop_service() {
killall nginx
}