Browse Source

sc: default host changed to localhost

Jiri Kuthan 23 years ago
parent
commit
b11ee5d89b
2 changed files with 5 additions and 3 deletions
  1. 4 2
      INSTALL
  2. 1 1
      scripts/sc

+ 4 - 2
INSTALL

@@ -193,10 +193,12 @@ Solaris:
     
 4) optionally, watch server's health using the
    serctl utility
-    - to do so, first set the environment
-      variable SIP_DOMAIN to your domain 
+    - to do so, first set the environment variable SIP_DOMAIN to your domain 
       name, e.g., in Bourne shell, call
         export SIP_DOMAIN="foo.bar"
+	- if you are using other than 'localhost' mysql server for maintaining
+	  subscriber database, change the variable 'SQL_HOST' to the proper
+	  host name in the serctl script
     - run the serctl utility
         /usr/sbin/serctl moni
       or

+ 1 - 1
scripts/sc

@@ -12,7 +12,7 @@ WATCH_PERIOD=2
 
 # SQL config
 SQL_DB=ser
-SQL_HOST=dbhost
+SQL_HOST=localhost
 SQL_USER=ser
 
 # the read-only user for whom password may be stored here