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

Add a init script for pintod #219

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Add a init script for pintod #219

wants to merge 7 commits into from

Conversation

sjn
Copy link

@sjn sjn commented Nov 21, 2015

I've taken the old init script example and cleaned it up. It should work a little better now, but feedback is appreciated. :)

I've tested it on Ubuntu 14.04.

The script is taken from from Pinto 0.09993 release tarball
Also, fix the following issues:
- Re-introduce Hugh's copyright notice
- Remove puppet-specific stuff
- Set the PINTO_HOME variable, so pinto doesn't crash at startup
- Move PID stuff to /var/run, since that's where it's expected
- Repeat attempts at harvesting the starman PID, since it's startup
  may not be instantaneous.
- Clean up some status messaging
- Remove some unused (commented-out code)
- Add myself (Salve J. Nilsen) as a contributor :)
- The init script now correctly sets the pidfile parameter for Starman
- Removed a bunch of contortions related to pidfile management
- Tested on Ubuntu 14.04
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.

None yet

1 participant