idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
- From: "Apache" <apache AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r116 - trunk/java/ch/idok/service/server/admin
- Date: Tue, 3 Jun 2008 10:44:58 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: huebner AT PSI.CH
Date: Tue Jun 3 10:44:57 2008
New Revision: 116
Log:
Fixed a bug where adding a new repository on the test server didnt restart
Apache
Modified:
trunk/java/ch/idok/service/server/admin/SimpleApacheHandler.java
Modified: trunk/java/ch/idok/service/server/admin/SimpleApacheHandler.java
==============================================================================
--- trunk/java/ch/idok/service/server/admin/SimpleApacheHandler.java
(original)
+++ trunk/java/ch/idok/service/server/admin/SimpleApacheHandler.java Tue
Jun 3 10:44:57 2008
@@ -115,7 +115,7 @@
*/
public void restartApache() throws DmsException {
int status = Admin.runShellCommand(new String[] {
- "/usr/sbin/apache2ctl", "graceful" }, null);
+ "sudo", "/usr/sbin/apache2ctl", "graceful" }, null);
if (status != 0) {
throw new DmsException(ErrorType.INTERNAL, null,
"Error when reloading Apache configuration",
- [idok-commit] idok commit r116 - trunk/java/ch/idok/service/server/admin, Apache, 06/03/2008
Archive powered by MHonArc 2.6.19.