Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

Install Daemontools: Difference between revisions

From COCNM
Jump to navigation Jump to search
m (1 revision)
(No difference)

Revision as of 01:20, 19 September 2013

Server Prep

  • apt-get install build-essential

Obtain and install

Configure

  • echo "alias t64='tail -f current | tai64nlocal'" >> /root/.bashrc
  • echo "alias l64='cat current | tai64nlocal | less'" >> /root/.bashrc
  • echo "alias t64all='tail -f /service/*/log/main/current | tai64nlocal'" >> /root/.bashrc
  • echo "alias sv='svstat /service/*'" >> /root/.bashrc
  • echo "PATH=/usr/local/nagios/bin:/usr/local/nagios/sbin:/usr/local/samba/bin/:/usr/local/samba/sbin/:/var/qmail/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >> /root/.bashrc
  • echo "export PATH" >> /root/.bashrc
  • mkdir -p -m 1755 /var/service/age.errors
  • mkdir -p -m 0755 /var/service/age.errors/log
  • vi /var/service/age.errors/run
  • vi /var/service/multilog.run
  • ln -s /var/service/multilog.run /var/service/age.errors/log/run
  • chmod 0755 /var/service/age.errors/run
  • chmod 0755 /var/service/age.errors/log/run
  • cd /service/
  • ln -s /var/service/age.errors/