Ignore:
Timestamp:
Nov 25, 2016, 8:04:54 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.7

Location:
vendor/current/ctdb/config
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/ctdb/config/ctdb.service

    r988 r989  
    11[Unit]
    22Description=CTDB
    3 After=network.target
     3After=network-online.target time-sync.target
    44
    55[Service]
  • vendor/current/ctdb/config/ctdbd_wrapper

    r988 r989  
    182182    if [ -n "$_session" ] ; then
    183183        pkill -9 -s "$_session" 2>/dev/null
    184         rm -f "$pidfile"
    185184    fi
    186185}
  • vendor/current/ctdb/config/events.d/05.system

    r988 r989  
    4848    fi
    4949
    50     if validate_percentage "$_warn_threshold" "$_what" ; then
     50    if validate_percentage "$_warn_threshold" "$_thing" ; then
    5151        if [ "$_usage" -ge "$_warn_threshold" ] ; then
    5252            if [ -r "$_cache" ] ; then
     
    145145END {
    146146    if (memavail != 0) { memfree = memavail ; }
    147     print int((memtotal -  memfree)  / memtotal * 100),
    148           int((swaptotal - swapfree) / swaptotal * 100)
     147    if (memtotal != 0) { print int((memtotal - memfree) / memtotal * 100) ; } else { print 0 ; }
     148    if (swaptotal != 0) { print int((swaptotal - swapfree) / swaptotal * 100) ; } else { print 0 ; }
    149149}')
    150150    _mem_usage="$1"
Note: See TracChangeset for help on using the changeset viewer.