summaryrefslogtreecommitdiff
path: root/lib/server/Daemon.cpp
Commit message (Collapse)AuthorAge
* Add "-h" and "/?" options to display usage in Daemon.Chris Wilson2007-10-17
| | | | | | | | | Extend usage info with service commands in BackupDaemon. Disable useless -D, -V and -k options on Windows. (merges 1855])
* Compile fix. (merges [1850])Chris Wilson2007-10-17
|
* Refactor out command-line option processing, so that it can be extendedChris Wilson2007-10-17
| | | | | by subclasses. (merges [1849])
* Don't disable logging on Win32 console. (merges [1834])Chris Wilson2007-10-17
|
* Replace almost all calls to syslog() with logging framework. (refs #3)Chris Wilson2007-07-31
|
* Use a signed int instead of char for getopt, thanks Martin. (refs #3)Chris Wilson2007-07-05
|
* Make char signed to fix getopt usage on ARM and PowerPC, thanks to TBP andChris Wilson2007-07-04
| | | | | | Reinhard Tartler (refs #3, see http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html)
* More debugging.Chris Wilson2007-07-03
|
* Hopefully work around buggy getopt implementation noted by TBP inChris Wilson2007-07-03
| | | | | | http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003614.html (refs #3)
* Add extra debugging to help find out why getopt is behaving weirdlyChris Wilson2007-06-30
| | | | | | on debian etch (http://lists.warhead.org.uk/pipermail/boxbackup/2007-June/003603.html)
* Add a new -F option for daemons, which runs in the foreground but stillChris Wilson2007-06-28
| | | | | accepts multiple connections, unlike -D or SINGLEPROCESS.
* Get it right this time.Chris Wilson2007-06-04
|
* Hopefully reset getopt in a way that's compatible with BSD and GLIBC,Chris Wilson2007-06-04
| | | | | thanks to Tobias Balle-Petersen for pointing out this bug.
* Initialise mSingleProcess flag to false (oops!) (refs #3)Chris Wilson2007-04-29
|
* Remove comments accidentally left in [1591]. (refs #3)Chris Wilson2007-04-28
|
* Make Daemon remember whether we're supposed to run in a single process,Chris Wilson2007-04-28
| | | | | or not. (refs #3)
* Add -V option, which sets maximum verbosity in one go.Chris Wilson2007-04-22
| | | | | | | | | | | Add -T option, which adds timestamps to console logs. Add -t option, which enabled and sets the tag used on console logs. Add -k option, which keeps console open after forking. (refs #3)
* Reduce default logging level in debug builds from TRACE back down to INFO,Chris Wilson2007-03-24
| | | | | to reduce noise in tests. (refs #3, merges [1441])
* Log at trace level by default in debug builds (refs #3)Chris Wilson2007-03-22
|
* Compile fix for RHEL4 ([NICK]) (refs #3)Chris Wilson2007-01-16
|
* Add option parsing with getopt()Chris Wilson2007-01-15
| | | | | | | | | | | Add "-D" flag as SINGLEPROCESS equivalent Add "-q" and "-v" options to control master logging level Log fatal errors as FATAL rather than ERROR Log daemon start and stop as NOTICE rather than INFO (refs #3)
* Spacing (refs #3)Chris Wilson2007-01-14
|
* Convert Daemon class to new logging framework (refs #3)Chris Wilson2007-01-12
|
* * Allow Daemons to be created more than once per processChris Wilson2006-11-26
| | | | | | | * Don't initialise signal handler until after fork, in case the parent is actually a unit test or another complex application * Don't exit(0) in the parent, for the same reason (refs #9)
* (refs #3)Chris Wilson2006-08-31
| | | | | | | Initialise Windows sockets automatically for all daemons on Win32 Write PID files on Win32
* Revert to trunkChris Wilson2006-08-31
|
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Merge chris/bb-save-state, resolving conflictsBen Summers2006-01-30
|
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Build under DarwinBen Summers2005-12-01
|
* Merged martin/solaris at r9 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14