Skip to content

Instantly share code, notes, and snippets.

View underscorenygren's full-sized avatar

Erik Nygren underscorenygren

View GitHub Profile
underscorenygren /
Last active August 29, 2015 14:18 — forked from naholyr/
Setting up an init.d service using chef.

Sample service script for debianoids

Look at LSB init scripts for more information.

Modified to work with Chef


template "/etc/init.d/[NAME]" do