Package: amule-daemon
Version: 2.1.3-1
Severity: wishlist
Tags: patch

It would be convenient to give the home folder along with the user in
/etc/default/amule-daemon, so that an arbitrary amule folder can be used
or that a user without a defined home folder (like nobody) can run amuled.

I propose to add the following to /etc/default/amule-daemon

  # uncomment the following line to override the home folder of $AMULED_USER
  HOME=/home/aMule

and to replace the following line of /etc/init.d/amule-daemon

  HOME=`getent passwd $AMULED_USER | awk -F: '{print $6}'`

by this one

  if [ -z "$HOME" ]; then HOME=`getent passwd $AMULED_USER | awk -F:
'{print $6}'`; fi
 
Then /home/aMule can be directly used as the amuled folder by adding a
link in it:
  cd /home/aMule && ln -s ./ .aMule

I do not see any drawback to these modifications since by not setting
HOME the behaviour remains unchanged.

P.S. I found it useless to include a real patch file due to the very
simple modifications of tiny files.

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages amule-daemon depends on:
ii  amule-common                2.1.3-1      common files for the rest
of aMule
ii  libc6                       2.3.6.ds1-4  GNU C Library: Shared libraries
ii  libcrypto++5.2c2a           5.2.1c2a-3   General purpose
cryptographic shar
ii  libgcc1                     1:4.1.1-13   GCC support library
ii  libpng12-0                  1.2.8rel-5.2 PNG library - runtime
ii  libreadline5                5.1-8        GNU readline and history
libraries
ii  libstdc++6                  4.1.1-13     The GNU Standard C++ Library v3
ii  libwxbase2.6-0              2.6.3.2.1.5  wxBase library (runtime) -
non-GUI
ii  zlib1g                      1:1.2.3-13   compression library - runtime

Versions of packages amule-daemon recommends:
ii  amule-utils                   2.1.3-1    utilities for aMule
(command-line

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to