Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128019 - Fedora-DS on gentoo
Summary: Fedora-DS on gentoo
Status: RESOLVED DUPLICATE of bug 104554
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 11:02 UTC by Massimiliano Adamo
Modified: 2006-03-29 11:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimiliano Adamo 2006-03-29 11:02:08 UTC
Hello.
I don't knkow if this is the correct place for this communication.
By the way, I wanted to communicate that I installed "Fedora-DS" succesfully either on ADM64 and I686.
Of course I had to use rpm and to force the installation, but it works properly.

This is my /etc/init.d/fedora-ds

#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

#Modify this parameter depending on your setup
MYSLAPD=gentoo

DSPATH=/opt/fedora-ds
export MYSLAPD DSPATH

depend() {
	need net
	use dns
}

start() {
	ebegin "Starting Fedora DS"
	start-stop-daemon --start --quiet \
	--make-pidfile --pidfile /var/run/fedora-ds.pid \
	--exec ${DSPATH}/slapd-${MYSLAPD}/start-slapd 
	eend $?
	
	ebegin "Starting Fedora Admin Server"
	start-stop-daemon --start --quiet \
	--make-pidfile --pidfile /var/run/fedora-admsrv.pid \
	--exec ${DSPATH}/start-admin
	eend $?
}

stop() {
	ebegin "Stopping Fedora Admin Server"
	start-stop-daemon --start --quiet \
	--pidfile /var/run/fedora-admsrv.pid \
	--exec ${DSPATH}/stop-admin 
	eend $?
	
	ebegin "Stopping Fedora DS"
	start-stop-daemon --start --quiet \
	--pidfile /var/run/fedora-ds.pid \
	--exec ${DSPATH}/slapd-${MYSLAPD}/stop-slapd 
	eend $?

}

restart() {
	svc_stop
	svc_start
}
Comment 1 Mike Doty (RETIRED) gentoo-dev 2006-03-29 11:04:18 UTC
not devrel
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 11:06:54 UTC

*** This bug has been marked as a duplicate of 104554 ***