User Tools

Site Tools


documentation:server-install-aducid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
documentation:server-install-aducid [2019/01/27 08:18]
mpospisek [File and directory preparation]
documentation:server-install-aducid [2019/01/27 08:35]
mpospisek [File and directory preparation]
Line 2: Line 2:
 ===== File and directory preparation ===== ===== File and directory preparation =====
  
-**Directories for aducid-aaa-modules**+**Prepare the aducid-aaa.service**
 <sxh bash> <sxh bash>
 # --- AAA modules need the following directories are created before installation: # --- AAA modules need the following directories are created before installation:
Line 52: Line 52:
 OPENAAA_AUTHORITY=`hostname`  OPENAAA_AUTHORITY=`hostname` 
 " > /etc/sysconfig/aducid-aaa " > /etc/sysconfig/aducid-aaa
- +</sxh> 
-/opt/aaa/bin/aducid-aaa.sh +<codedoc> 
-echo \ +vi /opt/aaa/bin/aducid-aaa.sh 
-"#!/bin/bash -x+</codedoc> 
 +<sxh> 
 +#!/bin/bash -x
 # #
 # Start stop or restart the ADUCID-AAA service # Start stop or restart the ADUCID-AAA service
Line 68: Line 70:
 usage () usage ()
 { {
-        echo $'Usage: $0 {start|stop|restart}1>&2+        echo $"Usage: $0 {start|stop|restart}1>&2
         RETVAL=2         RETVAL=2
 } }
Line 88: Line 90:
 } }
      
-case \"$1\" in+case "$1" in
     stop) stop ;;     stop) stop ;;
     status) status ;;     status) status ;;