Ignore:
Timestamp:
Mar 10, 2016, 4:03:58 PM (5 years ago)
Author:
hectorgh
Message:

renaming etc initd slad calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4d-ldap/trunk/fuentes/install/usr/sbin/llx-slapd-backup

    r149 r829  
    2929dump)
    3030       
    31         /etc/init.d/slapd stop
     31        /usr/sbin/slapd-daemon-starter stop
    3232        slapcat -n 0 > ${BACKUPDIR}/config.ldif
    3333        slapcat -n 1 > ${BACKUPDIR}/data.ldif
     
    3939        rsync -ptgox /etc/default/slapd  ${BACKUPDIR}/install/etc/default/
    4040        rsync -ptgox /etc/lliurex-secrets/passgen/ldap.secret ${BACKUPDIR}/install/etc/lliurex-secrets/passgen/
    41         /etc/init.d/slapd start
     41        /usr/sbin/slapd-daemon-starter start
    4242       
    4343        tar -czf $BACKUPFILE -C $BACKUPDIR .
     
    5555        SLAPD_RUN="/run/slapd"
    5656
    57         /etc/init.d/slapd stop
     57        /usr/sbin/slapd-daemon-starter stop
    5858        rm -rf ${SLAPD_CONF} || true
    5959        mkdir -p -m 0755 $SLAPD_CONF
     
    7878        rsync -ax ${BACKUPDIR}/install/* /
    7979        chmod 600 /etc/lliurex-secrets/passgen/ldap.secret
    80         /etc/init.d/slapd start
     80        /usr/sbin/slapd-daemon-starter start
    8181       
    8282        ;;
Note: See TracChangeset for help on using the changeset viewer.