Changeset 25392


Ignore:
Timestamp:
2011-02-06T20:13:35+01:00 (7 years ago)
Author:
obsy
Message:

[packages] transmission: add run_daemon_as user to default config, build for embedded system

Location:
packages/net/transmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/transmission/Makefile

    r25387 r25392  
    1010PKG_NAME:=transmission 
    1111PKG_VERSION:=2.20b4 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    8282        --enable-cli \ 
    8383        --disable-gtk \ 
    84         --enable-largefile 
     84        --enable-largefile \ 
     85        --enable-lightweight 
    8586 
    8687MAKE_FLAGS += \ 
  • packages/net/transmission/files/transmission.config

    r25387 r25392  
    22        option enabled 0 
    33        option config_dir '/tmp/transmission' 
     4        option run_daemon_as_user root 
    45        option alt_speed_down 50 
    56        option alt_speed_enabled false 
  • packages/net/transmission/files/transmission.init

    r25387 r25392  
    7373        echo "\""invalid-key"\": false" >> $config_dir/settings.json 
    7474        echo "}" >> $config_dir/settings.json 
    75          
     75 
     76        chown -R $run_as_usr $config_dir 
     77 
    7678        eval "$SSD -c $run_as_usr -q -b -x $BIN -S -- -g $config_dir" 
    7779} 
Note: See TracChangeset for help on using the changeset viewer.