⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 etc.init.d.myproxy

📁 代理服务器源代码 供大家学习使用,希望大家喜欢
💻 MYPROXY
字号:
#!/bin/sh## SysV-style boot script for MyProxy## chkconfig: 345 99 06# description: MyProxy online credential repository# Set GLOBUS_LOCATION as appropriate for your installation.GLOBUS_LOCATION="/usr/grid"export GLOBUS_LOCATION. ${GLOBUS_LOCATION}/libexec/globus-script-initializer. ${libexecdir}/globus-sh-tools.shMYPROXY=${GLOBUS_LOCATION}/sbin/myproxy-serverPS="/bin/ps -e"# Optional server configuration arguments follow.# Uncomment and modify to change default settings.#PORT="-p 7512"#CONFIG="-c ${GLOBUS_LOCATION}/etc/myproxy-server.config"#STORE="-s ${GLOBUS_LOCATION}/var/myproxy"#VERBOSE="-verbose"# By default, the myproxy-server uses /etc/grid-security/hostcert.pem# and /etc/grid-security/hostkey.pem.  Uncomment and modify the# following lines to configure the myproxy-server to find its# certificate and key in alternate locations.#X509_USER_CERT="/usr/local/etc/myproxycert.pem"#X509_USER_KEY="/usr/local/etc/myproxykey.pem"#export X509_USER_CERT X509_USER_KEYcase $1 in'start')    if [ -x $MYPROXY ]; then        echo "Starting up MyProxy"        $MYPROXY $PORT $CONFIG $STORE $VERBOSE    else        echo "$MYPROXY is not executable.  Skipping MyProxy startup."        exit 1    fi    ;;'stop')    pid=`$PS | grep myproxy-server | grep -v grep | awk '{print $1}'`    if [ -n "$pid" ]; then         echo "Shutting down MyProxy"        kill -TERM $pid    else        echo "MyProxy not running"    fi      ;;*)    echo "Usage: myproxy {start|stop}"    exit 1    ;;esacexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -