Changeset 282 for server


Ignore:
Timestamp:
Apr 11, 2007, 5:07:20 PM (15 years ago)
Author:
presbrey
Message:
tokensys: move afsagent crontab to isolate from fail-over cron
Location:
server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/tokensys/crontab

    r69 r282  
    1 @reboot /home/afsagent/renew
    2 0  */3  *  *  * /home/afsagent/renew
     1@reboot afsagent /home/afsagent/renew
     20 */3 * * * afsagent /home/afsagent/renew
  • server/fedora/specs/tokensys.spec

    r120 r282  
    2929[ $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT
    3030install -D renew $RPM_BUILD_ROOT/home/afsagent/renew
    31 install -D crontab $RPM_BUILD_ROOT/home/afsagent/crontab
     31install -D crontab $RPM_BUILD_ROOT/etc/cron.d/afsagent
    3232
    3333%clean
     
    3535
    3636%files
    37 %defattr(0644, afsagent, afsagent)
    38 /home/afsagent/crontab
     37%defattr(0600, root, root)
     38/etc/cron.d/afsagent
    3939%defattr(0755, afsagent, afsagent)
    4040/home/afsagent/renew
     
    4444useradd -u 101 -g 101 afsagent
    4545
    46 %post
    47 crontab -u afsagent /home/afsagent/crontab
    48 
    49 %preun
    50 crontab -u afsagent -r
    51 
    5246%postun
    5347userdel -r afsagent
     
    5549%changelog
    5650
     51* Wed Apr 11 2007  Joe Presbrey <presbrey@mit.edu>
     52- crontab moved system-wide (/etc/cron.d) to isolate from fail-over cron service
     53
    5754* Sat Sep 30 2006  Jeff Arnold <jbarnold@MIT.EDU> 0.00
    5855- initial prerelease version
Note: See TracChangeset for help on using the changeset viewer.