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