"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "elogd.init_template" between
elog-3.1.4-2.tar.gz and elog-3.1.4-3.tar.gz

About: ELOG is an Electronic Logbook (weblog).

elogd.init_template  (elog-3.1.4-2):elogd.init_template  (elog-3.1.4-3)
#!/bin/sh #!/bin/sh
# chkconfig: 3 90 10 # chkconfig: 3 90 10
# description: ELOG is a weblog with integrated database # description: ELOG is a weblog with integrated database
# processname: elogd # processname: elogd
# config: @PREFIX@/elog/elogd.cfg # config: @PREFIX@/elog/elogd.cfg
# pidfile: /var/run/elogd.pid # pidfile: /var/run/elogd.pid
# RHEL
[ -f /etc/init.d/functions ] && . /etc/init.d/functions
# Check for the config file # Check for the config file
if [ ! -f @PREFIX@/elog/elogd.cfg ]; then if [ ! -f @PREFIX@/elog/elogd.cfg ]; then
exit 0 exit 0
fi fi
# See how we were called. # See how we were called.
case "$1" in case "$1" in
start) start)
if [ -f /var/run/elogd.pid ] ; then if [ -f /var/run/elogd.pid ] ; then
pid=`cat /var/run/elogd.pid` pid=`cat /var/run/elogd.pid`
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)