Posts

Showing posts with the label service

using DNS for service discovery

using DNS for service discovery Some people use Zookeeper or Doozer or Etcd to describe where services live in a network. Spotify uses... DNS! In praise of �boring� technology dns | Spotify Labs download  file  now

Using crontab to startup service

Using crontab to startup service Did you know that crontab service has the "@reboot" schedule that would start a script during your system startup time? This is handy if you want something to run right after your system has stared. Try this: # crontab -e @reboot $HOME/crontab/runcmd.sh /apps/start-myapp.sh The disadvantage of this vs the rc.d scripts are you do not have control on when the system shutdown("stop") state. So if your app doenst need to clean up during shutdown, but only care to start when during reboot, this would be an easy option. download  file  now