Ver a proveniência

init.d: Allow modification of configuration file path

master
P3TERX há 4 anos
ascendente
cometimento
e4c59480df
2 ficheiros alterados com 2 adições e 2 eliminações
  1. +1
    -1
      service/aria2_centos
  2. +1
    -1
      service/aria2_debian

+ 1
- 1
service/aria2_centos Ver ficheiro

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

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

Carregando…
Cancelar
Guardar