@wjwjq/release-helper 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
--conf-path=/etc/nginx/nginx.conf \
|
|
7
7
|
--error-log-path=/var/log/nginx/error.log \
|
|
8
8
|
--http-log-path=/var/log/nginx/access.log \
|
|
9
|
-
--pid-path=/var/run/nginx
|
|
9
|
+
--pid-path=/var/run/nginx.pid \
|
|
10
10
|
--lock-path=/var/run/nginx/nginx.lock \
|
|
11
11
|
--with-http_ssl_module \
|
|
12
12
|
--with-http_v2_module \
|
|
@@ -32,6 +32,8 @@ if [[ -z "${ssl_version}" ]]; then
|
|
|
32
32
|
ssl_version="1.0.2"
|
|
33
33
|
fi
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
cd /etc || exit
|
|
36
|
+
|
|
37
|
+
tar -zcvf nginx-"$arch"-ssl"$ssl_version".tar.gz nginx/ -C /root
|
|
36
38
|
|
|
37
39
|
echo "-----------pack at: /root nginx-"$arch"-ssl"$ssl_version".tar.gz--------------"
|
|
@@ -16,7 +16,8 @@ nginx_conf_path="${nginx_conf_install_path}nginx.conf"
|
|
|
16
16
|
# asset_path="$prefix/opt/posidon-frontend/"
|
|
17
17
|
nginx_log_path="/var/log/nginx"
|
|
18
18
|
nginx_log_file="${app_name}.nginx.log"
|
|
19
|
-
|
|
19
|
+
#不放在var/run 是因为重启后 var/run/下面的文件及目录会被清除
|
|
20
|
+
nginx_pid_dir="/var/log/nginx/"
|
|
20
21
|
nginx_pid_file_path="$nginx_pid_dir${app_name}.nginx.pid"
|
|
21
22
|
|
|
22
23
|
conf_version=$(awk '{print $1}' "${pkg_path}"/version)
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
--conf-path=/etc/nginx/nginx.conf \
|
|
7
7
|
--error-log-path=/var/log/nginx/error.log \
|
|
8
8
|
--http-log-path=/var/log/nginx/access.log \
|
|
9
|
-
--pid-path=/var/run/nginx
|
|
9
|
+
--pid-path=/var/run/nginx.pid \
|
|
10
10
|
--lock-path=/var/run/nginx/nginx.lock \
|
|
11
11
|
--with-http_ssl_module \
|
|
12
12
|
--with-http_v2_module \
|
|
@@ -32,6 +32,8 @@ if [[ -z "${ssl_version}" ]]; then
|
|
|
32
32
|
ssl_version="1.0.2"
|
|
33
33
|
fi
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
cd /etc || exit
|
|
36
|
+
|
|
37
|
+
tar -zcvf nginx-"$arch"-ssl"$ssl_version".tar.gz nginx/ -C /root
|
|
36
38
|
|
|
37
39
|
echo "-----------pack at: /root nginx-"$arch"-ssl"$ssl_version".tar.gz--------------"
|
|
@@ -16,7 +16,8 @@ nginx_conf_path="${nginx_conf_install_path}nginx.conf"
|
|
|
16
16
|
# asset_path="$prefix/opt/posidon-frontend/"
|
|
17
17
|
nginx_log_path="/var/log/nginx"
|
|
18
18
|
nginx_log_file="${app_name}.nginx.log"
|
|
19
|
-
|
|
19
|
+
#不放在var/run 是因为重启后 var/run/下面的文件及目录会被清除
|
|
20
|
+
nginx_pid_dir="/var/log/nginx/"
|
|
20
21
|
nginx_pid_file_path="$nginx_pid_dir${app_name}.nginx.pid"
|
|
21
22
|
|
|
22
23
|
conf_version=$(awk '{print $1}' "${pkg_path}"/version)
|