Changeset 61 for trunk/postinst


Ignore:
Timestamp:
07/11/12 14:45:32 (12 years ago)
Author:
bas
Message:

added a new pam_pbssimpleauth patch for torque 4
added trqauth_syslog.patch

init.d start trqauthd daemon in --background else package installer hangs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/postinst

    r57 r61  
    171171        if [ -x "`which invoke-rc.d 2>/dev/null`" ]
    172172        then
    173                 if [ "$1" = configure ]
     173        if [ "$1" = configure ]
    174174                then
    175                         invoke-rc.d torque restart || true
     175                        invoke-rc.d torque restart || exit $?
    176176                else
    177                         invoke-rc.d torque start || exit 0
    178                 fi
    179         else
    180                 if [ "$1" = configure ]
    181                 then
    182                         /etc/init.d/torque restart || true
    183                 else
    184                         /etc/init.d/torque start || exit 0
    185                 fi
     177                        invoke-rc.d torque start || exit $?
     178        fi
    186179        fi
    187180fi
Note: See TracChangeset for help on using the changeset viewer.