mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Crontab fixes
This commit is contained in:
@@ -2275,3 +2275,4 @@ seen. gmtime warning still there
|
||||
- Fixed a problem with a fix for +b/+e reported by AngryWolf (#0001117)
|
||||
- Fixed a documentation typo reported by Z3l3zT (#0001066)
|
||||
- Clarified what ban server {} does, suggested by Joolz (#0001110)
|
||||
- Fixed a problem related to crontab reported by LRL (#0001034)
|
||||
|
||||
@@ -384,5 +384,6 @@ dnl make
|
||||
dnl AC_MSG_RESULT(installing TRE regex library)
|
||||
dnl make install
|
||||
dnl cd $cur_dir
|
||||
AC_OUTPUT(Makefile src/modules/Makefile unreal)
|
||||
AC_OUTPUT(Makefile src/modules/Makefile unreal ircdcron/ircdchk)
|
||||
chmod 0700 unreal
|
||||
chmod 0700 ircdcron/ircdchk
|
||||
|
||||
@@ -9963,7 +9963,7 @@ if test `uname -p` = "ppc" ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
ac_config_files="$ac_config_files Makefile src/modules/Makefile unreal"
|
||||
ac_config_files="$ac_config_files Makefile src/modules/Makefile unreal ircdcron/ircdchk"
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
@@ -10437,6 +10437,7 @@ do
|
||||
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||||
"src/modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
|
||||
"unreal" ) CONFIG_FILES="$CONFIG_FILES unreal" ;;
|
||||
"ircdcron/ircdchk" ) CONFIG_FILES="$CONFIG_FILES ircdcron/ircdchk" ;;
|
||||
"include/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/setup.h" ;;
|
||||
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
||||
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
||||
@@ -10982,3 +10983,4 @@ if test "$no_create" != yes; then
|
||||
fi
|
||||
|
||||
chmod 0700 unreal
|
||||
chmod 0700 ircdcron/ircdchk
|
||||
|
||||
Executable → Regular
+8
-10
@@ -17,19 +17,17 @@
|
||||
# 0,10,20,30,40,50 * * * * /home/mydir/ircdchk >/dev/null 2>&1
|
||||
#
|
||||
# change this to the mail address to mail output to:
|
||||
MAIL=me
|
||||
# change this to the directory you run your ircd from:
|
||||
dir="../src"
|
||||
# MAIL=me
|
||||
|
||||
# change this to the name of your ircd's file in that directory:
|
||||
ircdexe="ircd"
|
||||
# These values shouldn't need to be changed
|
||||
|
||||
# I wouldn't touch this if I were you.
|
||||
ircdname="../ircd.pid"
|
||||
# The path to the ircd binary
|
||||
ircdexe="@BINDIR@"
|
||||
|
||||
# The path to the ircd pid file
|
||||
ircdname="@IRCDDIR@/ircd.pid"
|
||||
|
||||
########## you probably don't need to change anything below here ##########
|
||||
|
||||
cd $dir
|
||||
if test -r $ircdname; then
|
||||
# there is a pid file -- is it current?
|
||||
ircdpid=`cat $ircdname`
|
||||
@@ -46,4 +44,4 @@ fi
|
||||
echo ""
|
||||
echo "Couldn't find the ircd running. Reloading it..."
|
||||
echo ""
|
||||
./$ircdexe
|
||||
$ircdexe
|
||||
Reference in New Issue
Block a user