Explorar el Código

init.d: Allow modification of configuration file path

master
P3TERX hace 4 años
padre
commit
e4c59480df
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      service/aria2_centos
  2. +1
    -1
      service/aria2_debian

+ 1
- 1
service/aria2_centos Ver fichero

@ -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 Ver fichero

@ -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

Cargando…
Cancelar
Guardar