WebDyne
view release on metacpan or search on metacpan
lib/WebDyne/Install/Apache.pm view on Meta::CPAN
# Almost done ..
#
unless ($Uninstall_fg) {
# Chown cache dir unless it is the system temp dir - then don't mess with it
#
if ($cache_dn) {
unless ($cache_dn eq File::Spec->tmpdir()) {
message
"Granting Apache ($APACHE_UNAME.$APACHE_GNAME) ownership of cache directory '$cache_dn'.";
chown($APACHE_UID, $APACHE_GID, $cache_dn) ||
return err("unable to chown $cache_dn to $APACHE_UNAME.$APACHE_GNAME");
# Selinx fixup
#
if ($SELINUX_ENABLED_BIN) {
# Run to see if SELinux enabled
#
if ((system($SELINUX_ENABLED_BIN) >> 8) == 0) {
lib/WebDyne/Install/Apache/Constant.pm view on Meta::CPAN
#
DIR_APACHE_CONF => &dir_apache_conf(),
DIR_APACHE_MODULES => $dir_apache_modules,
# Mod_perl library name
#
FILE_MOD_PERL_LIB => $file_mod_perl_lib,
# Need apache uid and gid, as some dirs will be chowned to this
# at install time
#
APACHE_UNAME => $apache_uname,
APACHE_GNAME => $apache_gname,
APACHE_UID => $apache_uid,
APACHE_GID => $apache_gid,
# SELinux context for cache directory
#
( run in 0.737 second using v1.01-cache-2.11-cpan-5511b514fd6 )