Skip to content

Instantly share code, notes, and snippets.

View cloudfly's full-sized avatar
🎯
Focusing

chenyunfei cloudfly

🎯
Focusing
  • Hangzhou, China
View GitHub Profile
@cloudfly
cloudfly / _service.md
Created November 10, 2016 07:37 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)