Ignore:
Timestamp:
May 20, 2012, 10:38:21 AM (8 years ago)
Author:
obi
Message:

[titan] plugins fix dlna path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/dlna/dlna.sh

    • Property svn:executable set to *
    r15685 r15827  
    1010NAME=minidlna
    1111DESC="MiniDLNA"
    12 DAEMON=/usr/bin/minidlna
     12DAEMON=/var/swap/titanplugins/dlna/minidlna
    1313USER=root
    1414GROUP=root
    1515 
    16 params="-f /etc/minidlna.conf -R"
     16params="-f /var/etc/minidlna.conf -R"
    1717 
    1818case $1 in
    1919  start)
    20     start-stop-daemon --verbose --start --exec /usr/sbin/minidlna -- ${params}
     20    start-stop-daemon --verbose --start --exec /var/swap/titanplugins/dlna/minidlna -- ${params}
    2121  ;;
    2222  stop)
    23     start-stop-daemon --verbose --stop --exec /usr/sbin/minidlna
     23    start-stop-daemon --verbose --stop --exec /var/swap/titanplugins/dlna/minidlna
    2424  ;;
    2525  restart)
     
    2828  ;;
    2929  *)
    30     echo "Usage: /etc/init.d/minidlna {start|restart|stop}"
     30    echo "Usage: /var/swap/titanplugins/dlna/dlna.sh {start|restart|stop}"
    3131  ;;
    3232esac
Note: See TracChangeset for help on using the changeset viewer.