瀏覽代碼

init.d: Allow modification of configuration file path

master
P3TERX 4 年之前
父節點
當前提交
e4c59480df
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      service/aria2_centos
  2. +1
    -1
      service/aria2_debian

+ 1
- 1
service/aria2_centos 查看文件

@ -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 查看文件

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

Loading…
取消
儲存