浏览代码

Use /etc/init.d/snf-server to check whether the service is running.

Reason:  Using /sbin/service does not output "running" if the service
is running.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@108 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 11 年前
父节点
当前提交
1ff97dfe28
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      SNF_CS_Developer_Package/snf-server.spec.in

+ 1
- 1
SNF_CS_Developer_Package/snf-server.spec.in 查看文件

@@ -103,7 +103,7 @@ fi

%preun
# Stop the service if it is running.
/sbin/service snf-server status | grep running > /dev/null 2>&1
/etc/init.d/snf-server status | grep running > /dev/null 2>&1
if [ $? == 0 ]; then
/sbin/service snf-server stop
fi

正在加载...
取消
保存