projects
/
php5-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4f801db
)
r5: * Prepravljen nacin restartanja Apache2 web servera.
author
Dragan Dosen
<ddosen@ffzg.hr>
Mon, 5 Nov 2007 19:33:57 +0000
(19:33 +0000)
committer
Dragan Dosen
<ddosen@ffzg.hr>
Mon, 5 Nov 2007 19:33:57 +0000
(19:33 +0000)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
3e3d9c4
..
196c904
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-167,14
+167,14
@@
done
if [ $need_restart -eq 1 ]; then
# Check Apache2 web server configuration.
if [ $need_restart -eq 1 ]; then
# Check Apache2 web server configuration.
- if apache2ctl configtest 2>/dev/null; then
+ if /usr/sbin/apache2ctl configtest 2>/dev/null; then
# Restart Apache2 web server.
if [ -x "/etc/init.d/apache2" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
# Restart Apache2 web server.
if [ -x "/etc/init.d/apache2" ]; then
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d apache2 restart || exit $?
+ invoke-rc.d apache2 force-reload || true
else
else
- /etc/init.d/apache2 restart || exit $?
+ /etc/init.d/apache2 force-reload || true
fi
fi
else
fi
fi
else