Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404239 - www-servers/nginx init script should support multiple instances
Summary: www-servers/nginx init script should support multiple instances
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-02-17 11:39 UTC by BigBug
Modified: 2012-07-18 18:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diff file to change nginx.initd script (nginx.init.diff,584 bytes, patch)
2012-02-17 11:42 UTC, BigBug
Details | Diff
diff file to change nginx.initd script (nginx.init.diff,579 bytes, patch)
2012-02-17 11:49 UTC, BigBug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BigBug 2012-02-17 11:39:27 UTC
Sometimes is needed to start more than one nginx server instance, current init script does not allow this.

Reproducible: Always




The only thing to change is 2 lines in the nginx.initd file
Comment 1 BigBug 2012-02-17 11:42:28 UTC
Created attachment 302255 [details, diff]
diff file to change nginx.initd script

only 2-line patch which will allow creation of /etc/conf.d/nginx or /etc/conf.d/nginx.xxx (with belonging symlink in init.d) what will allow to start multiple instances of nginx server without loosing any current functionality.
Comment 2 BigBug 2012-02-17 11:49:14 UTC
Created attachment 302257 [details, diff]
diff file to change nginx.initd script

ops, the right one diff, first one created badly.
Comment 3 Alexander Zubkov 2012-07-14 08:54:10 UTC
I'm interested in this too. Anybody will apply this simple change into portage?
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2012-07-18 18:59:42 UTC
i've applied your patch to the init script, thanks!