projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reload (etc) apache after regenerating its config
[invirt/packages/invirt-web.git]
/
debian
/
sipb-xen-www.init
diff --git
a/debian/sipb-xen-www.init
b/debian/sipb-xen-www.init
index
e907f53
..
7ce5b2a
100755
(executable)
--- a/
debian/sipb-xen-www.init
+++ b/
debian/sipb-xen-www.init
@@
-15,7
+15,9
@@
PACKAGE=sipb-xen-www
gen_config()
{
gen_config()
{
- mako /etc/apache2/sites-available/{ssl,svn}.mako
+ for i in /etc/apache2/sites-available/{ssl,svn}
+ do mako-render $i.mako > $i
+ done
}
case "$1" in
}
case "$1" in
@@
-23,6
+25,7
@@
case "$1" in
log_begin_msg "Reloading config for $PACKAGE"
gen_config
log_end_msg $?
log_begin_msg "Reloading config for $PACKAGE"
gen_config
log_end_msg $?
+ /etc/init.d/apache2 "$1"
;;
stop)
;;
;;
stop)
;;