# NSSM Cookbook

This cookbook installs the Non-Sucking Service Manager (http://nssm.cc), and exposes resources to `install` and `remove` Windows services.
Read [TLDR](TLDR.md) for more details about usage, chefspec matchers, and contributing.

## Requirements

### Platform

Should work under Windows 2000 or later.  

### Cookbooks

- windows

## Usage

Simply add `recipe[nssm]` to a run list.

### Examples

To install a Windows service:

    nssm 'service name' do
      app 'java'
      args [
        "-jar",
        "'C:\\path to\\my-executable.jar'"
      ]
      action :install
    end

To remove a Windows service:

    nssm 'service name' do
      action :remove
    end
    
# NSSM Cookbook

[![Build Status](https://travis-ci.org/dhoer/chef-nssm.svg)](https://travis-ci.org/dhoer/chef-nssm)

This cookbook installs the Non-Sucking Service Manager (http://nssm.cc), and exposes resources to `install` and `remove` Windows services.
Read [TLDR](TLDR.md) for more details about usage, chefspec matchers, and contributing.

## Requirements

### Platform

Should work under Windows 2000 or later.  

### Cookbooks

- windows

## Usage

Simply add `recipe[nssm]` to a run list.

### Examples

To install a Windows service:

    nssm 'service name' do
      app 'java'
      args [
        "-jar",
        "'C:\\path to\\my-executable.jar'"
      ]
      action :install
    end

To remove a Windows service:

    nssm 'service name' do
      action :remove
    end
    
Add travis build status icon
Add travis build status icon
