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

From COCNM
Revision as of 21:01, 17 June 2015 by Bob (talk | contribs) (→‎Make Daemontools boot automatically with systemd)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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/

Make Daemontools boot automatically with systemd