📄 eventengine.in
字号:
#!/usr/bin/env bash###################### $Id: eventengine.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 eventEngine Daemon.## Copyright (c) 2002 by NTNU, ITEA nettgruppen# Authors: Kristian Eide <kreide@online.no># Morten Vold <morten.vold@itea.ntnu.no>#####################prefix=@prefix@exec_prefix=@exec_prefix@sysconfdir=@sysconfdir@initdir=@initdir@bindir=@bindir@localstatedir=@localstatedir@user=@nav_user@# Source function library.. ${initdir}/functions[ -x ${bindir}/eventEngine.sh ] || exit 1# See how we were called.case "$1" in start) # Start daemons. echo -n "Starting eventEngine: " daemon "su - ${user} -c ${bindir}/eventEngine.sh" rc=$? echo exit $rc ;; stop) # Stop daemons. echo -n "Shutting down eventEngine: " if killproc eventEngine; then # Make sure the pidfile is gone when stopping normal rm -f ${localstatedir}/run/eventEngine.pid echo exit 0 else echo exit 1 fi ;; restart) $0 stop $0 start ;; status) status eventEngine exit $? ;; *) echo "Usage: $0 {start|stop|restart|status}" exit 1esacexit 0# === End of File ===
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -