/[gentoo-x86]/net-misc/stargazer/files/rscriptd
Gentoo

Contents of /net-misc/stargazer/files/rscriptd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Feb 23 20:13:30 2013 UTC (6 years, 11 months ago) by tomwij
Branch: MAIN
CVS Tags: HEAD
New ebuild for stargazer. Contributed by SpiderX. Fixes bug #452916.

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

1 #!/sbin/runscript
2
3 DAEMON=/usr/sbin/rscriptd
4 RSCRIPTD_OPTS="/etc/stargazer/rscriptd.conf"
5 PIDFILE="/run/rscriptd.pid"
6
7 depend() {
8 need net
9 provide rscriptd
10 }
11
12 start() {
13 ebegin "Starting rscriptd"
14 start-stop-daemon --start --quiet --background --make-pidfile --pidfile ${PIDFILE} --exec ${DAEMON} -- ${RSCRIPTD_OPTS}
15 eend $?
16 }
17
18 stop() {
19 ebegin "Stopping rscriptd"
20 start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
21 rm -f ${PIDFILE}
22 eend $?
23 }

  ViewVC Help
Powered by ViewVC 1.1.20