This is done correctly on my gentoo (amd64) system.  The ifile processor 
(install_service) should take care of this, using the @binary@ syntax.

$ cat /etc/initng/daemon/dbus.i
#!/sbin/itype
# This is a i file, used by initng parsed by install_service

# NAME: D-Bus
# DESCRIPTION: Application communication framework
# WWW: http://dbus.freedesktop.org/

daemon daemon/dbus {
        need = system/bootmisc;
        forks;
        pid_file = /var/run/dbus.pid;
        exec daemon = /usr/bin/dbus-daemon --system --fork;
}

--Thomas

On Fri, 09 Feb 2007, Mohammed Hagag wrote:
> some ifiles contains worng exec paths like udev ifile and 2 other
> ifiles that i really don't remeber.
> should we use `which DAEMON` or just use DAEMON instead of the full path ?
>
> i'm using gentoo & the dbus-daemon not in /bin/ folder but in /usr/bin/ .
>
> --
> Mohamed M. Hagag
> محمد محمود حجاج
> http://bintoo.sf.net/drpl/
> http://mohamedhagag.wordpress.com

Attachment: pgpFEJOgfpEmC.pgp
Description: PGP signature

-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to