Kaynağa Gözat

init.d: Allow modification of configuration file path

master
P3TERX 4 yıl önce
ebeveyn
işleme
e4c59480df
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      service/aria2_centos
  2. +1
    -1
      service/aria2_debian

+ 1
- 1
service/aria2_centos Dosyayı Görüntüle

@ -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 Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet