xray-core: fix service start / reload
authorTianling Shen <redacted>
Wed, 3 Feb 2021 22:53:47 +0000 (06:53 +0800)
committerTianling Shen <redacted>
Thu, 4 Feb 2021 03:50:40 +0000 (11:50 +0800)
commitae044501b3073c4ce8ab570802ee48c0480a0ccf
treec93773f144cd84d45343813b7dd8b61fff90bf22
parent18ce7b437a6ead10f49bf9466f2aed8d5679cb12
xray-core: fix service start / reload

Fix starting problem:
Starting function should be named 'start_service' instead of 'start_instance'.

Fix reloading problem:
Register reload tigger for uci config itself.
And, xray does not support reload currently, so use legacy restart as reload.

Fixes: 6c9b96352fb5e7d6acdf8f14ea4f9251cd09926b ("xray-core: add init script")
Signed-off-by: Tianling Shen <redacted>
net/xray-core/files/xray.init
git clone https://git.99rst.org/PROJECT