Changeset 823 for n4d-ldap


Ignore:
Timestamp:
Mar 10, 2016, 12:15:06 PM (3 years ago)
Author:
hectorgh
Message:

moving slapd as a predependency to allow systemd to load configurations properly ?

Location:
n4d-ldap/trunk/fuentes/debian
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • n4d-ldap/trunk/fuentes/debian/changelog

    r799 r823  
     1n4d-ldap (0.47.5) xenial; urgency=high
     2
     3  * Systemd work
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Thu, 10 Mar 2016 12:14:38 +0100
     6
    17n4d-ldap (0.47.4) xenial; urgency=high
    28
  • n4d-ldap/trunk/fuentes/debian/control

    r761 r823  
    1010Package: n4d-ldap
    1111Architecture: all
    12 Pre-depends: n4d, lliurex-base-files (>= 13.06.16)
    13 Depends: ${shlibs:Depends}, ${misc:Depends},  slapd, python-ldap, ldap-utils, python-jinja2, rng-tools, python-llxvars, python, n4d-lliurex-base (>= 0.7), n4d-netfolders
     12Pre-depends: n4d, lliurex-base-files (>= 13.06.16), slapd
     13Depends: ${shlibs:Depends}, ${misc:Depends},  python-ldap, ldap-utils, python-jinja2, rng-tools, python-llxvars, python, n4d-lliurex-base (>= 0.7), n4d-netfolders
    1414Description: N4D plugin for configuring ldap server
    1515 This plugin configure ldap server with some templates
  • n4d-ldap/trunk/fuentes/debian/postinst

    r802 r823  
    7575                systemctl daemon-reload || true
    7676                systemctl enable slapd || true
     77                systemctl restart slapd || true
    7778
    7879        fi
  • n4d-ldap/trunk/fuentes/debian/prerm

    r798 r823  
    3131        if [ -f ${DIVERT_FILE} ] ; then
    3232                rm -rf $LLIUREX_FILE || true
     33                systemctl disable slapd || true
     34                rm -rf /lib/systemd/system/slapd.service || true
     35                systemctl daemon-reload || true
    3336                dpkg-divert --package  ${PACKAGE_NAME} --rename --quiet --remove ${ORIGINAL_FILE}|| true
    3437                systemctl daemon-reload || true
Note: See TracChangeset for help on using the changeset viewer.