[MKDoc-commit] Add SERVER_ADMIN to apache environment.
bruno at mkdoc.demon.co.uk
bruno at mkdoc.demon.co.uk
Thu Nov 25 12:11:53 GMT 2004
Log Message:
-----------
Add SERVER_ADMIN to apache environment. full path to /usr/sbin/service
Modified Files:
--------------
mkd/tools:
install-details-gt.pl
-------------- next part --------------
Index: install-details-gt.pl
===================================================================
RCS file: /var/spool/cvs/mkd/tools/install-details-gt.pl,v
retrieving revision 1.23
retrieving revision 1.24
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.23 -r1.24
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -96,9 +96,9 @@
#
# Normally, each of those domains would have its own modperl.
# But /home/mkdoc18/mkdoc18.example.com serves them all.
-system ("service modperl halt $domain_name");
-system ("service modperl restart $all_name");
-system ("service httpd restart");
+system ("/usr/sbin/service modperl halt $domain_name");
+system ("/usr/sbin/service modperl restart $all_name");
+system ("/usr/sbin/service httpd restart");
# change the config to the 'true' site dir, and create the database
@@ -570,6 +570,7 @@
SetEnv SITE_DIR $site_dir
SetEnv PUBLIC_DOMAIN http://www.$domain_name/
SetEnv USER_DOMAIN http://users.$domain_name/
+SetEnv SERVER_ADMIN "admin\@$domain_name"
# where to cache stuff
SetEnv MKD__CACHE_DIR "$site_dir/cache"
More information about the MKDoc-commit
mailing list