Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25784 - [nginx] error stopping nginx when already stopped

Attached to Project: Community Packages
Opened by Jonathan Liu (net147) - Saturday, 27 August 2011, 07:18 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 29 August 2011, 09:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
/etc/rc.d/nginx stop when nginx is already stopped gives an error from cat.

# /etc/rc.d/nginx stop
:: Stopping Nginx [BUSY]
cat: /var/run/nginx.pid: No such file or directory
[FAIL]

I would expect it to hide the error from cat and result in DONE instead of FAIL like httpd.

Additional info:
* nginx 1.0.5-1

Steps to reproduce:
/etc/rc.d/nginx stop
/etc/rc.d/nginx stop
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 29 August 2011, 09:06 GMT
Reason for closing:  Fixed

Loading...