8 Star 27 Fork 0

Gitee 极速下载 / Webmin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/webmin/webmin
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webmin-caldera-init 990 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jamie Cameron 提交于 2007-04-12 20:24 . Initial checkin of Webmin
#!/bin/sh
# webmin This shell script takes care of starting and stopping
# webmin
#
# Source function library.
. /etc/rc.d/init.d/functions
NAME=miniserv
DAEMON=/usr/libexec/webmin/miniserv.pl
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
# check if the webmin conf file is present
[ -f /etc/webmin/miniserv.conf ] || exit 0
case "$1" in
start)
[ ! -e $SVIlock ] || exit 1
if [ -f /etc/webmin/miniserv.conf ]; then
echo -n "Starting $IDENT: "
ssd -S -n $NAME -x $DAEMON -- /etc/webmin/miniserv.conf 2>&1 >/dev/null
touch $SVIlock
echo "."
else
echo "$NAME not configured (in /etc/webmin/miniserv.conf): Skipped!"
fi
;;
stop)
[ -e $SVIlock ] || exit 0
echo -n "Stopping $IDENT: "
ssd -K -p /var/run/miniserv.pid >/dev/null 2>&1 && echo -n "miniserv"
rm -f $SVIlock
echo "."
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
Perl
1
https://gitee.com/mirrors/webmin.git
git@gitee.com:mirrors/webmin.git
mirrors
webmin
Webmin
master

搜索帮助