Problem (and solution ?) with funcd init.d script on Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

in /etc/init.d/funcd (func 0.23) there is:

START_DAEMON $PROCESS $CONFIG_ARGS

I think it should be

START_DAEMON $DAEMON $CONFIG_ARGS

Because the variables are:
PROCESS=funcd
DAEMON=/usr/bin/funcd


and START_DAEMON is an alias to
start_daemon

that is a function in
/lib/lsb/init-functions (used when you are on Debian)

that calls the /sbin/start-stop-daemon

that seems to need the PATH of the binary


With current script, I have:
# /etc/init.d/funcd start

/sbin/start-stop-daemon: stat funcd: No such file or directory (No such
file or directory)

And with "START_DAEMON $DAEMON $CONFIG_ARGS" it's fine.


Louis
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux