Changeset 147


Ignore:
Timestamp:
Feb 5, 2007, 10:31:37 PM (15 years ago)
Author:
jbarnold
Message:
moving apache error log to /home/logs
Location:
server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/logview/logview.pl

    r139 r147  
    33%ENV = ();
    44$ENV{'PATH'} = '/bin:/usr/bin';
    5 my $elogsrc = '/var/log/httpd/error_log';
     5my $elogsrc = '/home/logs/error_log';
    66# get by uid the caller's name to find the corresponding locker name
    77my $caller = (getpwuid $<)[0];
  • server/fedora/specs/logview.spec

    r145 r147  
    3232
    3333%pre
    34 groupadd logview
    35 chgrp logview /var/log/httpd
    36 chmod g+rx /var/log/httpd
     34useradd logs
    3735
    3836%postun
    39 groupdel logview
    40 chgrp root /var/log/httpd
     37userdel logs
    4138
    4239%files
    4340%defattr(0755, root, root)
    4441/usr/local/bin/logview.pl
    45 %defattr(2755, root, logview)
     42%defattr(4755, logs, root)
    4643/usr/local/bin/logview
    4744
Note: See TracChangeset for help on using the changeset viewer.