Changeset 1485 in genapp


Ignore:
Timestamp:
Jun 28, 2018, 8:34:27 AM (4 months ago)
Author:
ehb
Message:

Updates to install

Location:
sbin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sbin/install.pl

    r1484 r1485  
    305305chmod g+rwx $$cfgjson{'lockdir'}
    306306usermod -g users -G genapp $whoami
    307 usermod -G genapp \'www-data\'" );
     307usermod -G genapp \'www-data\'
     308chgrp -R genapp $gb
     309chmod g+w $gb/etc
     310" );
    308311
    309312    # setup local system definitions
     
    465468chmod g+rwx $$cfgjson{'lockdir'}
    466469usermod -g users -G genapp $whoami
    467 usermod -G genapp \'apache\'" );
     470usermod -G genapp \'apache\'
     471chgrp -R genapp $gb
     472chmod g+w $gb/etc
     473" );
    468474
    469475    # setup local system definitions
     
    624630chmod g+rwx $$cfgjson{'lockdir'}
    625631usermod -g users -G genapp $whoami
    626 usermod -G genapp \'apache\'" );
     632usermod -G genapp \'apache\'
     633chgrp -R genapp $gb
     634chmod g+w $gb/etc
     635" );
    627636
    628637    # setup local system definitions
     
    834843chmod g+rwx $$cfgjson{'lockdir'}
    835844usermod -g users -G genapp $whoami
    836 usermod -G genapp \'apache\'" );
     845usermod -G genapp \'apache\'
     846chgrp -R genapp $gb
     847chmod g+w $gb/etc
     848" );
    837849
    838850    # setup local system definitions
     
    961973chmod g+rwx $$cfgjson{'lockdir'}
    962974usermod -g users -G genapp $whoami
    963 usermod -G genapp \'www-data\'" );
     975usermod -G genapp \'www-data\'
     976chgrp -R genapp $gb
     977chmod g+w $gb/etc
     978" );
    964979
    965980    # setup local system definitions
     
    11341149chmod g+rwx $$cfgjson{'lockdir'}
    11351150usermod -g users -G genapp $whoami
    1136 usermod -G genapp \'apache\'" );
     1151usermod -G genapp \'apache\'
     1152chgrp -R genapp $gb
     1153chmod g+w $gb/etc
     1154" );
    11371155
    11381156    # setup local system definitions
  • sbin/setconfig.pl

    r1406 r1485  
    265265    my $nametoip;
    266266    if ( `which dig 2> /dev/null` ) {
    267         $nametoip = `dig +short $hostname`;
     267        $nametoip = `dig \@8.8.8.8 +short $hostname`;
    268268    } else {
    269269        $nametoip = `host $hostname | awk '/has address/ { print \$4 }'`;
Note: See TracChangeset for help on using the changeset viewer.