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

Initial spike for pleaserun support #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Initial spike for pleaserun support #68

wants to merge 1 commit into from

Conversation

bernd
Copy link
Owner

@bernd bernd commented Mar 7, 2014

I experimented with pleaserun support for fpm-cookery.

Example:

class Redis < FPM::Cookery::Recipe
  # ...

  # Creates first startup script for redis-server binary with default settings
  startup_script '/usr/bin/redis-server'

  # Creates a second one
  startup_script '/usr/bin/redis-server',
                 :name => 'redis2',
                 :args => '--port 1234',
                 :description => 'Second Redis instance',
                 :user => 'nobody',
                 :group => 'nobody'

  # startup_script options: :name, :args, :user, :group, :description, :chdir, :umask, :prestart
  # ...
end

Looking for feedback on the API! :) /cc @beddari @jordansissel

@bernd bernd added the feature label Mar 7, 2014
@beddari
Copy link
Contributor

beddari commented Mar 10, 2014

WOooow you got inspiration :) Thank you, will most definetly be looking at this

@davewongillies
Copy link
Contributor

Would LOVE to this see!

@bernd bernd changed the base branch from master to main July 13, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants