Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Sample upstart/monit scripts #751

Closed
subnetmarco opened this issue Nov 30, 2015 · 3 comments
Closed

Sample upstart/monit scripts #751

subnetmarco opened this issue Nov 30, 2015 · 3 comments
Assignees
Labels
task/feature Requests for new features in Kong

Comments

@subnetmarco
Copy link
Member

We should provide some sample upstart/monit scripts that will detect if any of the Kong services is down and bring the system back up.

@CristianPupazan
Copy link

Any update on this? I tried to create one myself but upstart somehow ends up tracking a non existing process id.

@hutchic
Copy link
Contributor

hutchic commented Jan 4, 2017

Share what you have @CristianPupazan maybe it can be improved upon / someone else can fix the process id tracking issue you ran into

@CristianPupazan
Copy link

I have used this in the meantime to get things working.

I do not know upstart very well. Bellow is what I was trying at the time but it was not working correctly.

description "managed by Ansible for kong cluster"
author "foo"
env LANG=en_GB.UTF-8

start on runlevel [2345]
stop on runlevel [016]

setuid kong
console log
expect fork

script
  exec kong start --conf "{{ kong_conf_dest }}"
end script

@kikito kikito added task/feature Requests for new features in Kong and removed proposal labels Feb 8, 2021
@guanlan guanlan closed this as completed May 26, 2021
@Kong Kong locked and limited conversation to collaborators May 26, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
task/feature Requests for new features in Kong
Projects
None yet
Development

No branches or pull requests

5 participants