Changeset 28906


Ignore:
Timestamp:
2011-11-10T00:29:28+01:00 (6 years ago)
Author:
nico
Message:

packages/rsync: use new service functions

Location:
packages/net/rsync
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/rsync/Makefile

    r27238 r28906  
    1010PKG_NAME:=rsync 
    1111PKG_VERSION:=3.0.8 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/rsync/files/rsyncd.init

    r26631 r28906  
    33 
    44START=50 
    5 BIN=/usr/bin/rsync 
    6 PID=/var/run/rsyncd.pid 
    7 SSD=start-stop-daemon 
     5 
     6SERVICE_PID_FILE=/var/run/rsyncd.pid 
    87 
    98start() { 
    10         $SSD -p $PID -S -x $BIN -- --daemon 
     9        service_start /usr/bin/rsync --daemon 
    1110} 
    1211 
    1312stop() { 
    14         $SSD -p $PID -K 
     13        service_stop /usr/bin/rsync 
    1514} 
Note: See TracChangeset for help on using the changeset viewer.