Changeset 40674


Ignore:
Timestamp:
2014-05-03T13:29:26+02:00 (4 years ago)
Author:
hauke
Message:

xupnpd: Update to latest version, switch to procd and add parameter for root directory

Update to latest version, switch to procd and add parameter for root directory.

Signed-off-by: Álvaro Fernández Rojas <noltari@…>

Location:
packages/multimedia/xupnpd
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • packages/multimedia/xupnpd/Makefile

    r38481 r40674  
    99 
    1010PKG_NAME:=xupnpd 
    11 PKG_REV:=387 
     11PKG_REV:=398 
    1212PKG_VERSION:=$(PKG_REV) 
    13 PKG_RELEASE:=5 
     13PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE_PROTO:=svn 
  • packages/multimedia/xupnpd/files/xupnpd.init

    r38481 r40674  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2013 OpenWrt.org 
     2# Copyright (C) 2013-2014 OpenWrt.org 
    33 
    4 START=99 
    5 STOP=99 
     4START=50 
     5USE_PROCD=1 
    66 
    7 SERVICE_DAEMONIZE=1 
    8 SERVICE_WRITE_PID=1 
     7start_service() { 
     8        procd_open_instance 
    99 
    10 XUPNPDROOTDIR=/usr/share/xupnpd 
    11 XUPNPD=/usr/bin/xupnpd 
     10        procd_set_param command /usr/bin/xupnpd 
     11        procd_append_param command -d /usr/share/xupnpd 
    1212 
    13 start() { 
    14         service_start $XUPNPD 
     13        procd_set_param respawn 
     14        procd_close_instance 
    1515} 
    16  
    17 stop() { 
    18         service_stop $XUPNPD 
    19 } 
    20  
    21 reload() { 
    22         service_reload $XUPNPD 
    23 } 
Note: See TracChangeset for help on using the changeset viewer.