40 Commits

Author SHA1 Message Date
brain
cbefea57e9 Fixes for default log. It is now called ~/.inspircd/startup.log unless overridden by -logfile commandline param. The name of the log is more indicative of what it stores, and the location is more sane and fits in with standards.
If the home directory cant be found from either HOME or USERPROFILE env vars, then the startup.log is dumped to the current directory.
Removed -nolog from ./inspircd debug, antique setting.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9472 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12 17:55:47 +00:00
brain
738cde7f2a Minor url tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7244 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:36:59 +00:00
brain
41b1c64889 Update ancient copyright header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7243 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:36:18 +00:00
w00t
80fceca516 List developer arguments (debug, screendebug etc) so they don't need to be looked up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7242 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05 21:34:17 +00:00
peavey
bc47b88daf Fix that equal sign '=' inside double quotes don't blow up confcheck.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6567 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10 21:26:32 +00:00
peavey
f631009527 Make checkconf handle end of line comments.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6496 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-05 18:26:59 +00:00
peavey
1f7f6c58d4 Add a general xml syntax checker for config files. It parses includes and warns of general syntax mistakes. ./inspircd checkconf to run.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6491 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04 22:52:06 +00:00
peavey
d85fae1a65 getpidfile was not working at all. Fix it to work as intended.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6261 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-08 04:13:23 +00:00
brain
081d2c8777 Correctly ignore commented out includes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6108 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 21:45:20 +00:00
brain
9628934933 Tidyup Leet Caps Like This, and display PID when performing operations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6101 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 13:38:32 +00:00
brain
191adfdc7f Fix the launcher for two situations:
* pid file defined, but in a comment (ignore it)
* pid file not defined, because its no longer manditory (assume configdir/inspircd.pid)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6097 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 13:28:42 +00:00
brain
b436d286f2 Forgot to include 'version' in the syntax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5843 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04 17:50:22 +00:00
brain
6115897d26 Fix for bug #177, generate the version string at configure time and write it into the .inspircd.inc,
then when running the ./inspircd, output the string, this way we dont need the source code to hand to
report the version. (btw special, the doctor has cured you of perlprogramophobia)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5841 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04 17:03:10 +00:00
special
3e52f21044 Reverted the addition of ./inspircd version; I should've considered this a bit more, its flawed in several ways
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5840 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04 10:37:55 +00:00
special
9e6c986a55 Added ./inspircd version, requested and written by Mitch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5839 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04 04:12:32 +00:00
brain
acf23bb31d Since the last beta, the pid file doesnt have to be specified. If it hasnt been specified, default to <conf>/inspircd.pid
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5766 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-18 20:06:25 +00:00
om
bc14912c0c Complain if we can't find the binary
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4909 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 13:43:42 +00:00
om
94eb487064 Give a full path to .gdbargs, should let you run the ./inspircd script from outside the install dir (from this point of view, anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4755 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06 22:26:18 +00:00
special
c1958b1235 Fix for ./inspircd restart not working half the time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4042 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-22 10:26:33 +00:00
om
ffe8c3ce60 Add new arguments to ./inspircd, 'screendebug' starts insp inside gdb and detaches the session, 'valdebug' starts insp inside valgrind, valgrind will start gdb in the event of a crash, 'screenvaldebug' (ugleh name :[) does the same but runs valgrind in a detached screen session
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3936 e03df62e-2008-0410-955e-edbf42e46eb7
2006-05-07 10:10:53 +00:00
om
e21c3bb140 Slight optimisation to config reader, looks nicer even if it's not faster.
Make ./inspircd script use -nolog (it already used -debug, which didn't exist until now!?)
Add commandline options -nolog and -debug, -debug forces all log messages to be output regardless of level. -nolog stops the logfile 
being written, so you can run with -debug without filling up your disk.
make clean && make install, apparently some of the core doesn't depend on inspircd_io.h in the makefiles..so it'll probably segfault if 
you don't.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3841 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-07 12:21:11 +00:00
om
2b28d1f137 Changes to ./inspircd to hopefully work on freebsd as well as linux..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3680 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11 19:46:10 +00:00
brain
d7c9583c8e Removed sleep()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3437 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 18:29:39 +00:00
om
c881ce4120 Make ./inspircd ignore SIGPIPE and start running without the user having to type 'run' / 'r'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3412 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 01:31:08 +00:00
brain
a3962aa85a LD_LIBRARY_PATH setting is no longer required by core or m_sql.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2596 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-21 10:49:20 +00:00
brain
d651aeb61a Changed $CompileFlags to seperate $CompileFlags and $LinkerFlags
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2595 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-21 10:36:01 +00:00
brain
1f2176d318 Fixed .inspircd.inc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2345 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-12 15:47:57 +00:00
frostycoolslug
571542d1f0 Added support for the new <include:file> system.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1561 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-29 22:07:33 +00:00
brain
345ef80295 *** empty log message ***
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1463 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-20 15:24:04 +00:00
brain
a11c452853 Fixed Craig's buggy configure :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1337 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-09 01:46:05 +00:00
brain
a5a089996c Changed to fully dynamic core (should be faster compile times)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1331 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-08 19:54:32 +00:00
brain
f9055253d2 Fixed to always look for the ircd.log within the bin/ dir
Fixed to not spool the error log after ./inspircd debug


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1290 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-03 12:50:52 +00:00
brain
b7b2eeaeb9 Sanity checks for fd_ref in addclient
Fixed 'server ignores me forever if i throttle the server with connections' bug


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1272 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-01 21:24:59 +00:00
brain
3f839fc4ed Fixed to allow debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1151 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 13:22:15 +00:00
brain
2f19dfa694 Added LD_LIBRARY_PATH hacks/kludges to the .inspircd.inc file to make it find libmysql in funny situations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1146 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-21 00:59:25 +00:00
brain
fc31f07d4f Fixed a missing semicolon *LARGE SLAP*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1028 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-10 01:03:27 +00:00
frostycoolslug
907ee6a7d3 Modified to kill -9, if a kill -TERM fails.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1018 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-08 23:03:18 +00:00
frostycoolslug
f56671a8a3 Fixed ./inspircd cron actually working.. but not claiming too!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@985 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-05 21:24:01 +00:00
frostycoolslug
acefcb7337 Fixed careless bug i left in while debugging :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@984 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-05 21:21:04 +00:00
frostycoolslug
c2dd34ae04 Added ./inspircd (start|stop|restart|rehash|status|cron|Cheese-Sandwich) (Happy luigiman?)
Made a slightly nicer method for .Makefile.inc
Updated ./configure to reflect the above changes.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@983 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-05 21:17:33 +00:00