Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 522400
Collapse All | Expand All

(-)a/net-p2p/freenet/files/freenet (-3 / +3 lines)
Lines 3-18 Link Here
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
4
5
start() {
5
start() {
6
	start-stop-daemon --start --chuid freenet --exec /bin/sh /var/freenet/run.sh start 2>/dev/null
6
	start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh start 2>/dev/null
7
	eend 0
7
	eend 0
8
}
8
}
9
9
10
status() {
10
status() {
11
	start-stop-daemon --start --chuid freenet --exec /bin/sh /var/freenet/run.sh status 2>/dev/null
11
	start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh status 2>/dev/null
12
	eend 0
12
	eend 0
13
}
13
}
14
14
15
stop() {
15
stop() {
16
	start-stop-daemon --start --chuid freenet --exec /bin/sh /var/freenet/run.sh stop 2>/dev/null
16
	start-stop-daemon --start --user freenet --exec /bin/sh /var/freenet/run.sh stop 2>/dev/null
17
	eend 0
17
	eend 0
18
}
18
}

Return to bug 522400