Advertisement
kaaposc

my-httpd

Jul 10th, 2012
671
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # SQLANY12 -- directory of SQL Anywhere 12 installation
  4. SQLANY12=/opt/sqlanywhere12
  5.  
  6. # Getting architecture of machine (outputs either 64 or 32)
  7. arch=$(uname -m | sed 's/x86_//;s/i[3-6]86/32/')
  8.  
  9. # Sourcing sa_config.sh to prepare environment
  10. . $SQLANY12/bin$arch/sa_config.sh
  11.  
  12. # Starting httpd daemon
  13. /usr/sbin/httpd $OPTIONS -k start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement