mhsanaei 1 day ago
parent
commit
f309cba0e2
3 changed files with 3 additions and 8 deletions
  1. 2 0
      .github/workflows/release.yml
  2. 1 1
      config/version
  3. 0 7
      x-ui.service

+ 2 - 0
.github/workflows/release.yml

@@ -7,6 +7,8 @@ on:
   push:
   push:
     branches:
     branches:
       - main
       - main
+    tags:
+      - "v*.*.*"
     paths:
     paths:
       - '.github/workflows/release.yml'
       - '.github/workflows/release.yml'
       - '**.js'
       - '**.js'

+ 1 - 1
config/version

@@ -1 +1 @@
-2.6.7
+2.6.8

+ 0 - 7
x-ui.service

@@ -10,13 +10,6 @@ WorkingDirectory=/usr/local/x-ui/
 ExecStart=/usr/local/x-ui/x-ui
 ExecStart=/usr/local/x-ui/x-ui
 Restart=on-failure
 Restart=on-failure
 RestartSec=5s
 RestartSec=5s
-ProtectHome=tmpfs
-ProtectKernelModules=true
-ProtectControlGroups=true
-ProtectKernelLogs=true
-ProtectHostname=true
-ProtectClock=true
-MemoryDenyWriteExecute=true
 
 
 [Install]
 [Install]
 WantedBy=multi-user.target
 WantedBy=multi-user.target