6 Star 10 Fork 6

FusionStack/FusionStor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lichd_init_ubuntu 607 Bytes
一键复制 编辑 原始数据 按行查看 历史
Gabriel.B.Lee 提交于 2018-08-14 14:44 +08:00 . revert admin
#! /bin/sh
# Copyright (c) 2005 fusionstack.cn
# All rights reserved.
#
# chkconfig: 2345 42 42
# description: lichd service.
#
### BEGIN INIT INFO
# Provides: lichd
# Required-Start: $network $portmap
# Required-Stop: $network $portmap
# Default-Start: S
# Default-Stop: 0 1 6
# Short-Description: lichd service
# Description: lichd service
### END INIT INFO
case "$1" in
status)
lich.node --stat
;;
start)
lich.node --start
;;
stop)
lich.node --stop
;;
restart)
lich.node --stop
lich.node --start
;;
*)
$ECHO "Crazy"
exit 1
esac
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/FusionStack/FusionStor.git
git@gitee.com:FusionStack/FusionStor.git
FusionStack
FusionStor
FusionStor
master

搜索帮助