projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add persistdir for centos5 and make sure the syslog daemon is enabled.
[util-vserver.git]
/
distrib
/
redhat
/
initpost
diff --git
a/distrib/redhat/initpost
b/distrib/redhat/initpost
index
48d5e97
..
92f79bb
100755
(executable)
--- a/
distrib/redhat/initpost
+++ b/
distrib/redhat/initpost
@@
-54,7
+54,9
@@
pushd "$vdir"/etc/init.d &>/dev/null ||
test -e "$i" || continue
case "$i" in
functions|halt|killall|single) ;;
- syslog|rsyslog) ;;
+ syslog|rsyslog)
+ $_VSERVER "$1" chkconfig "$i" on
+ ;;
*)
$_VSERVER "$1" chkconfig "$i" off
;;