Skip to content

Instantly share code, notes, and snippets.

@jv2222
jv2222 / service.md
Created April 10, 2021 00:05 — forked from miromannino/service.md
Sample /etc/init.d script

Sample service script for debian/ubuntu

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name