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

📄 alertengine.in

📁 Network Administration Visualized 网络管理可视化源码
💻 IN
字号:
#!/usr/bin/env bash###################### $Id: alertengine.in 2013 2003-11-14 13:05:11Z mortenv $# This file is part of the NAV project.# This script controls start/stop/status of the NAV alertEngine Daemon.## Copyright (c) 2003 by NTNU, ITEA nettgruppen# Authors: Arne Oslebo <arne.oslebo@uninett.no>#####################prefix=@prefix@exec_prefix=@exec_prefix@sysconfdir=@sysconfdir@initdir=@initdir@bindir=@bindir@user=@nav_user@# Source function library.. ${initdir}/functions[ -x ${bindir}/alertdaemon.pl ] || exit 1cd ${bindir}# See how we were called.case "$1" in	start)		# Start daemons.		echo -n "Starting alertengine: "		daemon "su - ${user} -c ${bindir}/alertdaemon.pl start"		rc=$?		echo		exit $rc;		;;	stop)		# Stop daemons.		echo -n "Shutting down alertengine: "		daemon "su - ${user} -c ${bindir}/alertdaemon.pl stop"		rc=$?		echo		exit $rc;        	;;	restart)		$0 stop		$0 start		;;	status)		rc= status alertengine		exit $rc;		;;	*)		echo "Usage: $0 {start|stop|restart|status}"		exit 1esacexit 0# === End of File ===

⌨️ 快捷键说明

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