Loading scripts/run/gkfs +5 −3 Original line number Diff line number Diff line Loading @@ -222,8 +222,10 @@ start_daemon() { done else create_pid_file ${SRUN_DAEMON_PID_FILE} ${daemon_pid} if [[ ${USE_PROXY} == true ]]; then create_pid_file ${SRUN_PROXY_PID_FILE} ${proxy_pid} fi fi } ####################################### # Stops GekkoFS daemons for the configured pid file Loading @@ -243,7 +245,7 @@ stop_daemons() { exit 1 fi # attempt to shutdown proxy if [[ -e ${proxy_pid_file} ]]; then if [[ ${USE_PROXY} == true ]] && [[ -e ${proxy_pid_file} ]]; then while IFS= read -r line do if ps -p "${line}" > /dev/null; then Loading Loading @@ -366,7 +368,7 @@ USE_SRUN=${USE_SRUN} RUN_FOREGROUND=false DAEMON_NUMACTL_=${DAEMON_NUMACTL} PROXY_NUMACTL_=${PROXY_NUMACTL} USE_PROXY=false USE_PROXY=${USE_PROXY} # parse input POSITIONAL=() while [[ $# -gt 0 ]]; do Loading Loading
scripts/run/gkfs +5 −3 Original line number Diff line number Diff line Loading @@ -222,8 +222,10 @@ start_daemon() { done else create_pid_file ${SRUN_DAEMON_PID_FILE} ${daemon_pid} if [[ ${USE_PROXY} == true ]]; then create_pid_file ${SRUN_PROXY_PID_FILE} ${proxy_pid} fi fi } ####################################### # Stops GekkoFS daemons for the configured pid file Loading @@ -243,7 +245,7 @@ stop_daemons() { exit 1 fi # attempt to shutdown proxy if [[ -e ${proxy_pid_file} ]]; then if [[ ${USE_PROXY} == true ]] && [[ -e ${proxy_pid_file} ]]; then while IFS= read -r line do if ps -p "${line}" > /dev/null; then Loading Loading @@ -366,7 +368,7 @@ USE_SRUN=${USE_SRUN} RUN_FOREGROUND=false DAEMON_NUMACTL_=${DAEMON_NUMACTL} PROXY_NUMACTL_=${PROXY_NUMACTL} USE_PROXY=false USE_PROXY=${USE_PROXY} # parse input POSITIONAL=() while [[ $# -gt 0 ]]; do Loading