GithubHelp home page GithubHelp logo

aaronpederson / ansible-upstart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from telus/ansible-upstart

0.0 1.0 0.0 35 KB

Ansible (meta-) Role for generating upstart scripts

License: MIT License

Ruby 100.00%

ansible-upstart's Introduction

ansible-upstart

Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.

Licence Build Status Platforms

Tunables

  • upstart_runtime_root (string) - Directory for runtime data
  • upstart_pidfile_path (string) - Path for pidfile
  • upstart_user (string) - User to run as
  • upstart_group (string) - Group to run as
  • upstart_name (string) - Name of the process
  • upstart_description (string) - Description of the process
  • upstart_start_on (list) - Events to start on
  • upstart_stop_on (list): - Events to stop on
  • upstart_file_descriptor_limit (integer) - File descriptor limit for the process
  • upstart_environment (list) - Environment data
  • upstart_environment_global (boolean) - Should env vars be global to all upstart scripts?
  • upstart_pre_start (list) - Commands to run prior to starting
  • upstart_pre_stop (list) - Commands to run before stopping (useful for docker)
  • upstart_post_stop (list) - Commands to run after stopping
  • upstart_script (list) - Script to run
  • upstart_respawn (boolean) - Should you respawn process on accidental shutdown?
  • upstart_respawn_limit (boolean) - Limit respawning the process up to $count times within an $interval second interval?
  • upstart_respawn_limit_count (integer) - upstart_respawn_limit $count mentioned above
  • upstart_respawn_limit_interval (integer) - upstart_respawn_limit $interval mentioned above
  • upstart_exec_path (string) - A single command to execute
  • upstart_exec_flags (list) - Parameters to be passed to the command
  • upstart_log_root (string) - Directory for logs
  • upstart_log_path (string) - Path for log file
  • upstart_capture_errors (boolean) - Redirect STDERR to STDOUT?
  • upstart_state (present|absent) - Install or remove init script
  • upstart_use_logrotate (boolean) - Depend on telusdigital.logrotate

Dependencies

Example Playbook

- hosts: servers
  roles:
     - role: telusdigital.upstart
       upstart_name: nginx
       upstart_description: "Upstart for Nginx HTTP Server"

Contributors

ansible-upstart's People

Contributors

colstrom avatar extremelylongusername avatar aaronpederson avatar stevenharradine avatar ilyapoz avatar oniseijin avatar noqcks avatar jscott avatar pdufault avatar lucidaeon avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.