Skip to content

Instantly share code, notes, and snippets.

View daapp's full-sized avatar

Alexander Danilov daapp

View GitHub Profile
@daapp
daapp / service.md
Last active September 5, 2025 08:00 — forked from miromannino/service.md
Sample /etc/init.d script

Sample service script for debian/ubuntu/devuan with sysv-rc

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

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