Bläddra i källkod

init.d: Allow modification of configuration file path

master
P3TERX 4 år sedan
förälder
incheckning
e4c59480df
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      service/aria2_centos
  2. +1
    -1
      service/aria2_debian

+ 1
- 1
service/aria2_centos Visa fil

@ -73,7 +73,7 @@ do_start(){
else
echo -e "${Info} $NAME 启动中..."
ulimit -n 51200
nohup aria2c >> "${LOG}" 2>&1 &
nohup aria2c --conf-path="${CONFIG}" >> "${LOG}" 2>&1 &
sleep 2s
check_running
if [[ $? -eq 0 ]]; then

+ 1
- 1
service/aria2_debian Visa fil

@ -71,7 +71,7 @@ do_start(){
else
echo -e "${Info} $NAME 启动中..."
ulimit -n 51200
nohup aria2c >> "${LOG}" 2>&1 &
nohup aria2c --conf-path="${CONFIG}" >> "${LOG}" 2>&1 &
sleep 2s
check_running
if [[ $? -eq 0 ]]; then

Laddar…
Avbryt
Spara