Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 374958 Details for
Bug 507352
mail-filter/amavisd-new - amavisd init script fails to restart when amavisd has abnormally terminated
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
unified patch
amavisd.initd.patch (text/plain), 517 bytes, created by
Robin Lutz
on 2014-04-15 07:33:57 UTC
(
hide
)
Description:
unified patch
Filename:
MIME Type:
Creator:
Robin Lutz
Created:
2014-04-15 07:33:57 UTC
Size:
517 bytes
patch
obsolete
>--- /usr/portage/mail-filter/amavisd-new/files/amavisd.initd 2012-08-24 20:31:18.000000000 +0200 >+++ /etc/init.d/amavisd 2014-04-11 01:08:30.215000000 +0200 >@@ -9,6 +9,8 @@ > prog="/usr/sbin/amavisd" > progname="amavisd-new" > >+PIDFILE="/run/amavisd/amavisd.pid" >+ > depend() { > need net > use logger antivirus snmpd >@@ -22,6 +24,11 @@ > } > > stop() { >+ if [[ ! -e $PIDFILE ]] ; then >+ ewarn "Amavisd crashed or was terminated!" >+ return 0 >+ fi >+ > ebegin "Stopping ${progname}" > "${prog}" stop 1>/dev/null > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 507352
:
374710
| 374958 |
555284