Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72090 Details for
Bug 62197
Ebuild request for open-xchange
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/openexchange in gentoo style
openexchange (text/plain), 2.27 KB, created by
Sebastian Kotyrba
on 2005-11-04 01:53:46 UTC
(
hide
)
Description:
/etc/init.d/openexchange in gentoo style
Filename:
MIME Type:
Creator:
Sebastian Kotyrba
Created:
2005-11-04 01:53:46 UTC
Size:
2.27 KB
patch
obsolete
>#!/sbin/runscript ># $Header$ > >depend() { > need net > use apache2 cyrus tomcat5 saslauthd postgresql slapd >} > > >pidfile_sessiond=${PIDFILE-/var/run/ox_sessiond.pid} >pidfile_groupware=${PIDFILE-/var/run/ox_groupware.pid} >pidfile_webmail=${PIDFILE-/var/run/ox_webmail.pid} > >USER=tomcat > >OX_SESSIOND_BIN="/opt/openexchange/bin/openexchange-sessiond" >OX_GROUPWARE_BIN="/opt/openexchange/bin/openexchange-groupware" >OX_WEBMAIL_BIN="/opt/openexchange/bin/openexchange-webmail" > >PROG_NAME="Open-Xchange" > > >start() { > ebegin "Starting $PROG_NAME (sessiond)" > start-stop-daemon -c $USER --start --quiet --background --pidfile $pidfile_sessiond --make-pidfile --exec $OX_SESSIOND_BIN > STAT=$? > [ $STAT -eq 0 ] && { > RUN_PID=`cat $pidfile_sessiond` > RUNNING=`ps aux | grep $USER | grep $RUN_PID | grep -v grep | wc -l` > [ $RUNNING -ne 1 ] && { > rm $pidfile_sessiond > STAT=1 > } > } > eend $STAT > > > ebegin "Starting $PROG_NAME (groupware)" > start-stop-daemon -c $USER --start --quiet --background --pidfile $pidfile_groupware --make-pidfile --exec $OX_GROUPWARE_BIN > STAT=$? > [ $STAT -eq 0 ] && { > RUN_PID=`cat $pidfile_groupware` > RUNNING=`ps aux | grep $USER | grep $RUN_PID | grep -v grep | wc -l` > [ $RUNNING -ne 1 ] && { > rm $pidfile_groupware > STAT=1 > } > } > eend $STAT > > > ebegin "Starting $PROG_NAME (webmail)" > start-stop-daemon -c $USER --start --quiet --background --pidfile $pidfile_webmail --make-pidfile --exec $OX_WEBMAIL_BIN > STAT=$? > [ $STAT -eq 0 ] && { > RUN_PID=`cat $pidfile_webmail` > RUNNING=`ps aux | grep $USER | grep $RUN_PID | grep -v grep | wc -l` > [ $RUNNING -ne 1 ] && { > rm $pidfile_webmail > STAT=1 > } > } > eend $STAT >} > > >stop() { > ebegin "Stopping $PROG_NAME (sessiond)" > start-stop-daemon --stop --quiet --pidfile $pidfile_sessiond > eend $? > > ebegin "Stopping $PROG_NAME (groupware)" > start-stop-daemon --stop --quiet --pidfile $pidfile_groupware > eend $? > > ebegin "Stopping $PROG_NAME (webmail)" > start-stop-daemon --stop --quiet --pidfile $pidfile_webmail > eend $? > > [ -f $pidfile_sessiond ] && rm $pidfile_sessiond > [ -f $pidfile_groupware ] && rm $pidfile_groupware > [ -f $pidfile_webmail ] && rm $pidfile_webmail >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 62197
:
38529
|
38692
|
38693
|
38705
|
38708
|
38710
|
38778
|
38779
|
38793
|
38831
|
38832
|
38907
|
38908
|
38909
|
38910
|
38911
|
38912
|
38950
|
39161
|
39638
|
40395
|
40677
|
43006
|
45598
|
51564
|
52969
|
57322
|
58355
|
58364
|
58367
|
59319
|
59327
|
61190
|
61191
|
61270
|
62568
|
66393
|
66394
|
66402
|
66592
|
66692
|
66817
|
66818
|
66890
|
66902
|
67034
|
67087
|
67399
|
67511
|
67595
|
67907
|
68648
|
68650
|
68695
|
68701
|
68702
|
68705
|
68706
|
68895
|
68946
|
68947
|
68959
|
68960
|
68961
|
68968
|
68973
|
68981
|
68991
|
68993
|
68994
|
69097
|
69101
|
69139
|
69140
|
69179
|
69205
|
70998
|
72090
|
72748
|
77974
|
77975
|
79765
|
79766
|
79767
|
79851
|
79943
|
79944
|
80431
|
80432
|
83756
|
83946
|
85610
|
87053
|
87995
|
87996
|
87997
|
87998
|
90889
|
94269
|
100851
|
100852
|
105319