Commit Graph

20 Commits

Author SHA1 Message Date
Junichi Uekawa
4820dbbc49 Revert "minni cleanups."
This reverts commit a83f5dcfba72d787f11bc3518ec0e48f54351ce9.
2008-11-03 13:09:32 +00:00
Axel Kittenberger
964e4fc847 minni cleanups. 2008-11-02 21:21:53 +00:00
Axel Kittenberger
ad0a7398dd move rsync actions into a script, this way rsync options are easily configureable, and the admin can freely change rsync behavior as well as add additional actions after rsyncs. 2008-11-02 20:54:02 +00:00
Junichi Uekawa
c35c712791 Made more error code outputs.
It will give 0 when successful, 1-5 when there is some error. 
Document the error codes in the manpage too.
2008-11-02 12:23:37 +00:00
Junichi Uekawa
c04d167c76 refactor code to use execv instead of execl. 2008-10-23 14:07:57 +00:00
Junichi Uekawa
e6782df02d remove %userwww
It doesn't work, so remove this feature.
2008-10-23 14:07:50 +00:00
Junichi Uekawa
cabd55bce0 add error checking with rsync, and re-run rsync from the parent
directory if possible.

userwww handling seems broken, but at least check for breakages.
2008-10-13 02:06:19 +00:00
Junichi Uekawa
e21b43fd31 Get version string from autoconf macros. 2008-10-13 02:06:12 +00:00
Junichi Uekawa
03a32b6e1e add sanity checking in filenames and paths.
Check files exist, and check paths are specified absolute.
I am relying on paths starting from '/' when they are absolute.

daemon() will chdir to /, and that means giving relative paths to this
program will give unexpected (to the user) results.
2008-10-08 04:08:56 +00:00
Junichi Uekawa
f62c1f3cc2 make --pidfile option for handling pids.
Add manpage on the way
2008-10-08 04:08:52 +00:00
Junichi Uekawa
673570ea06 add tabstop specifier for emacs editing. 2008-10-08 04:08:46 +00:00
Junichi Uekawa
179ec99736 Change help output to be based on variable contents, not hard-coded. 2008-10-08 04:08:31 +00:00
Axel Kittenberger
465511bd19 oh indeed, but this should work 2008-10-07 06:30:40 +00:00
Axel Kittenberger
f29445ebba stupid error 2008-10-06 20:40:28 +00:00
Axel Kittenberger
be93533418 some more files 2008-10-06 20:35:52 +00:00
Axel Kittenberger
742789e258 incooperated changes from dancerj 2008-10-04 08:49:54 +00:00
Axel Kittenberger
5d97d982b1 incooperating some of the simple stuff 2008-10-04 08:31:22 +00:00
Axel Kittenberger
c91e84045b this time really just astyled the source, please skip last commit. 2008-10-04 08:22:28 +00:00
Axel Kittenberger
846ec0acb9 astyled source 2008-08-12 11:51:46 +00:00
Axel Kittenberger
814c133e82 imported version 1.0 2008-08-06 13:04:01 +00:00