Changeset 29185


Ignore:
Timestamp:
2011-11-16T14:27:44+01:00 (6 years ago)
Author:
nico
Message:

packages/tinc: fix pid-file arg passed in service command-line

Location:
packages/net/tinc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tinc/Makefile

    r29166 r29185  
    1010PKG_NAME:=tinc 
    1111PKG_VERSION:=1.0.16 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/tinc/files/tinc.init

    r29166 r29185  
    165165        append_params "$s" log debug 
    166166 
    167         SERVICE_PID_FILE="/var/run/tinc.$s.pid" \ 
    168         service_start $BIN -c "$TMP_TINC/$s" -n $s $ARGS --pidfile="$PID" 
     167        SERVICE_PID_FILE="/var/run/tinc.$s.pid" 
     168        service_start $BIN -c "$TMP_TINC/$s" -n $s $ARGS --pidfile="$SERVICE_PID_FILE" 
    169169} 
    170170 
     
    174174        section_enabled "$s" || return 1 
    175175 
    176         SERVICE_PID_FILE="/var/run/tinc.$s.pid" \ 
     176        SERVICE_PID_FILE="/var/run/tinc.$s.pid" 
    177177        service_stop $BIN 
    178178} 
     
    183183        section_enabled "$s" || return 1 
    184184 
    185         SERVICE_PID_FILE="/var/run/tinc.$s.pid" \ 
     185        SERVICE_PID_FILE="/var/run/tinc.$s.pid" 
    186186        service_reload $BIN 
    187187} 
Note: See TracChangeset for help on using the changeset viewer.