Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Options #11

Merged
merged 2 commits into from
Apr 13, 2015
Merged

Additional Options #11

merged 2 commits into from
Apr 13, 2015

Conversation

elmerfud
Copy link
Contributor

@elmerfud elmerfud commented Mar 5, 2015

Added pidfile and socket so they can be specified. Made socket and log_dir optional for the emperor configuration. Added a check so if service files are not managed they won't be created.

…te service files when not managed. Apps don't force reload of emperor as the emperor auto reloads the vassals.
@@ -44,7 +44,6 @@
group => $gid,
mode => '0644',
content => template($template),
require => Package[$::uwsgi::package_name],
notify => Service[$::uwsgi::service_name]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this notify not required? Is the directory monitored by the running service?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's correct. UWSGI in Emperor mode detects the modify time of the
vassals and reloads them automatically.

http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html

On Sun, Apr 12, 2015 at 11:30 PM, Josh Smeaton notifications@github.com
wrote:

In manifests/app.pp
#11 (comment):

@@ -44,7 +44,6 @@
group => $gid,
mode => '0644',
content => template($template),

  •    require => Package[$::uwsgi::package_name],
    
  •    notify  => Service[$::uwsgi::service_name]
    

Is this notify not required? Is the directory monitored by the running
service?


Reply to this email directly or view it on GitHub
https://github.com/Engage/puppet-uwsgi/pull/11/files#r28213853.

jarshwah added a commit that referenced this pull request Apr 13, 2015
@jarshwah jarshwah merged commit 61da9b7 into rvdh:master Apr 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants