projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45cade
)
Make Citadel init script chkconfig-compatible
author
Michael Hampton
<io_error@uncensored.citadel.org>
Thu, 21 Dec 2006 11:46:05 +0000
(11:46 +0000)
committer
Michael Hampton
<io_error@uncensored.citadel.org>
Thu, 21 Dec 2006 11:46:05 +0000
(11:46 +0000)
citadel/setup.c
patch
|
blob
|
history
diff --git
a/citadel/setup.c
b/citadel/setup.c
index 67be1e6c38d218a34f8292bfcc771a9c17a22293..e5212930ccfbe0435b0932e813c008b4a8565236 100644
(file)
--- a/
citadel/setup.c
+++ b/
citadel/setup.c
@@
-392,6
+392,13
@@
void install_init_scripts(void)
}
fprintf(fp, "#!/bin/sh\n"
+ "#\n"
+ "# Init file for Citadel\n"
+ "#\n"
+ "# chkconfig: - 79 30\n"
+ "# description: Citadel service\n"
+ "# processname: ctdlsvc\n"
+ "# pidfile: /var/run/citadel.pid\n"
"\n"
"CITADEL_DIR=%s\n", setup_directory);
fprintf(fp, "\n"