fix config version
Failed to start: main/commands: failed to load config: [/usr/local/etc/v2ray/config.json] > infra/conf/serial: failed to read config file at line 1 char 144 > json: cannot unmarshal object into Go struct field LogConfig.log.access of type stringpull/309/head
parent
cb39ee8824
commit
ce12547168
|
@ -413,12 +413,12 @@ ExecStart=${START_COMMAND} -confdir $JSONS_PATH" |
|
|||
# Or all changes you made will be lost! # Refer: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=${START_COMMAND} -config ${JSON_PATH}/config.json" > '/etc/systemd/system/v2ray.service.d/10-donot_touch_single_conf.conf'
|
||||
ExecStart=${START_COMMAND} -config ${JSON_PATH}/config.json -format jsonv5" > '/etc/systemd/system/v2ray.service.d/10-donot_touch_single_conf.conf'
|
||||
echo "# In case you have a good reason to do so, duplicate this file in the same directory and make your customizes there.
|
||||
# Or all changes you made will be lost! # Refer: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=${START_COMMAND} -config ${JSON_PATH}/%i.json" > '/etc/systemd/system/v2ray@.service.d/10-donot_touch_single_conf.conf'
|
||||
ExecStart=${START_COMMAND} -config ${JSON_PATH}/%i.json -format jsonv5" > '/etc/systemd/system/v2ray@.service.d/10-donot_touch_single_conf.conf'
|
||||
fi
|
||||
echo "info: Systemd service files have been installed successfully!"
|
||||
echo "${red}warning: ${green}The following are the actual parameters for the v2ray service startup."
|
||||
|
|
Loading…
Reference in New Issue