mf-hosting 2.9.11 → 2.9.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mf-hosting",
3
- "version": "2.9.11",
3
+ "version": "2.9.13",
4
4
  "files": [
5
5
  ".releaserc.json",
6
6
  "pkg/hooks.sh",
@@ -47,7 +47,7 @@
47
47
  "aarch64"
48
48
  ],
49
49
  "dependencies": {
50
- "systemd": ">=258.3",
50
+ "systemd": ">=259",
51
51
  "nginx-mainline": ">=1.29.3"
52
52
  },
53
53
  "content": {
package/pkg/hooks.sh CHANGED
@@ -12,8 +12,10 @@ post_upgrade() {
12
12
  if [[ $ACTIVE -eq 0 ]]
13
13
  then
14
14
  systemctl daemon-reload
15
- systemctl restart {{name}}
16
- systemctl restart {{name}}.socket
15
+ systemctl stop {{name}}
16
+ systemctl stop {{name}}.socket
17
+ systemctl start {{name}}.socket
18
+ systemctl start {{name}}
17
19
  fi
18
20
  }
19
21
 
package/pkg/nginx.conf CHANGED
@@ -1,5 +1,5 @@
1
1
  location {{http.path}} {
2
- {{nginx.location.header}} rewrite {{http.path}}(.*) $1 break;
2
+ {{nginx.location.header}} rewrite {{http.path}}(.*) $1 break;
3
3
  proxy_set_header X-Real-IP $remote_addr;
4
4
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
5
5
  proxy_set_header Host $http_host;