A Project Blog

Run a Command on Boot for Ubuntu

by @ October 10, 2007. Filed under server

I used this to start fetchmail on an Ubuntu 7.10 server running Request Tracker.

Edit /etc/rc.local, add your command, make sure it doesn’t create any output. This is my command:

su rt -c “fetchmail -d 300″ > /dev/null 2>&1

It starts a background fetchmail process as the “rt” user, just as the Request Tracker documentation states.

Leave a Reply

Copyright ©2005-2007 Nicholas Brand. All rights reserved.
powered by WordPress.

categories:

links:

blogroll:

search:

archives:

October 2007
M T W T F S S
« Sep   Dec »
1234567
891011121314
15161718192021
22232425262728
293031  

other:

computers:

  • htpc
  • closetbox (server)
  • netbook
  • mini
  • backupbox
  • shuttle
  • icebox (desktop)
  • thinkpad
  • other devices:

  • nokia 770
  • personal:

    Twitter
    del.icio.us
    Amazon Wishlist
    Digg
    Last.FM

    26 queries. 0.123 seconds