HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
540f03e
)
Correct rsync invocation
author
Adam Chlipala
<adamc@hcoop.net>
Tue, 12 Dec 2006 04:27:34 +0000
(
04:27
+0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Tue, 12 Dec 2006 04:27:34 +0000
(
04:27
+0000)
scripts/domtool-publish
patch
|
blob
|
blame
|
history
diff --git
a/scripts/domtool-publish
b/scripts/domtool-publish
index
3279588
..
60f3f27
100755
(executable)
--- a/
scripts/domtool-publish
+++ b/
scripts/domtool-publish
@@
-2,11
+2,11
@@
case $1 in
apache)
case $1 in
apache)
- /usr/bin/rsync --delete /var/domtool/vhosts/ /etc/apache2/vhosts/
+ /usr/bin/rsync -
r -
-delete /var/domtool/vhosts/ /etc/apache2/vhosts/
/etc/init.d/apache2 reload
;;
bind)
/etc/init.d/apache2 reload
;;
bind)
- /usr/bin/rsync --delete /var/domtool/zones/ /etc/bind/zones/
+ /usr/bin/rsync -
r -
-delete /var/domtool/zones/ /etc/bind/zones/
/bin/cp /var/domtool/named.conf.local /etc/bind/
/etc/init.d/bind9 reload
;;
/bin/cp /var/domtool/named.conf.local /etc/bind/
/etc/init.d/bind9 reload
;;