Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391650 Details for
Bug 462920
dev-perl/Mail-SRS - please provide init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d script
srsd.init.d (text/plain), 1.07 KB, created by
Patrice Clement
on 2014-12-14 02:08:26 UTC
(
hide
)
Description:
init.d script
Filename:
MIME Type:
Creator:
Patrice Clement
Created:
2014-12-14 02:08:26 UTC
Size:
1.07 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header > >pidfile="/var/run/srsd.pid" >command="/usr/bin/srsd" >command_args="${SRSD_OPTS}" > >depend() { > use logger >} > >checkconfig() { > if [[ ! -z ${SRSD_SECRET_FILE} ]]; then > if [[ ! -f ${SRSD_SECRET_FILE} ]]; then > eerror "Secret file \"${SRSD_SECRET_FILE}\" does not exist. Please create it." > return 1 > fi > if [[ $(stat --printf '%s\n' ${SRSD_SECRET_FILE}) -eq 0 ]]; then > eerror "Secret file \"${SRSD_SECRET_FILE}\" must NOT be empty." > return 1 > fi > fi > > return 0 >} > >start() { > checkconfig || return 1 > > ebegin 'Starting SRS daemon' > start-stop-daemon \ > --start \ > --background \ > --pidfile ${pidfile} \ > --make-pidfile \ > --exec ${command} \ > -- ${command_args} > eend $? >} > >stop() { > ebegin 'Stopping SRS daemon' > start-stop-daemon \ > --stop \ > --pidfile ${pidfile} \ > --exec ${command} > eend $? >}
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 462920
:
391650
|
391652
|
391706
|
391708
|
391710