mirror of
https://github.com/XTLS/Xray-install.git
synced 2026-01-31 11:49:51 +00:00
Add the RuntimeDirectory parameter to the service file
This commit is contained in:
@@ -550,6 +550,8 @@ Restart=on-failure
|
|||||||
RestartPreventExitStatus=23
|
RestartPreventExitStatus=23
|
||||||
LimitNPROC=10000
|
LimitNPROC=10000
|
||||||
LimitNOFILE=1000000
|
LimitNOFILE=1000000
|
||||||
|
RuntimeDirectory=xray
|
||||||
|
RuntimeDirectoryMode=0755
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
@@ -570,6 +572,8 @@ Restart=on-failure
|
|||||||
RestartPreventExitStatus=23
|
RestartPreventExitStatus=23
|
||||||
LimitNPROC=10000
|
LimitNPROC=10000
|
||||||
LimitNOFILE=1000000
|
LimitNOFILE=1000000
|
||||||
|
RuntimeDirectory=xray-%i
|
||||||
|
RuntimeDirectoryMode=0755
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user