projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da43700
)
In webcit-ng, allow -h to specify the Citadel Server data directory. This will allow...
author
Art Cancro
<ajc@citadel.org>
Thu, 16 Jun 2022 04:01:44 +0000
(
00:01
-0400)
committer
Art Cancro
<ajc@citadel.org>
Thu, 16 Jun 2022 04:01:44 +0000
(
00:01
-0400)
webcit-ng/main.c
patch
|
blob
|
history
diff --git
a/webcit-ng/main.c
b/webcit-ng/main.c
index 6028eb62d86f8cdfc8a74f5e5740c02b300e6813..ab515adf28caacabbc3812be03ed82f983ff6903 100644
(file)
--- a/
webcit-ng/main.c
+++ b/
webcit-ng/main.c
@@
-32,6
+32,7
@@
int main(int argc, char **argv) {
setuid(atoi(optarg));
break;
case 'h':
+ ctdl_dir = strdup(optarg);
break;
case 'd':
running_as_daemon = 1;
@@
-87,7
+88,7
@@
int main(int argc, char **argv) {
"[-D daemonizepid] [-v] "
"[-g defaultlandingpage] [-B basesize] "
"[-s] [-S cipher_suites]"
- "[
citadel
_directory]\n"
+ "[
-h citadel_server
_directory]\n"
);
return 1;
}