# fhd/init-script-template

A template for simple System V init scripts

Repository: https://github.com/fhd/init-script-template
Canonical: https://ross.abutalabs.com/products/init-script-template
Language: Shell
License: MIT
License Family: permissive
Last push: 2022-02-11T17:51:55+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5291, "days_push": 1664, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1090, forks 310 (observed 2026-08-28T04:03:32.890658+00:00)

## What it is
A simple System V init script template written in Shell that provides start, stop, restart, and status commands for background processes. It is configured by setting a few variables (working directory, command, user) and is handy for running Node.js apps and similar services.

## Use cases
- create an init script for a node.js app
- run a background process as a service on linux
- add start stop restart status commands to a daemon
- manage a self-hosted app with sysvinit
- log stdout and stderr of a service to files

## When to choose
- you need a minimal, dependency-free init script for a single process
- your system still uses System V init and you want a quick template
- you want simple file-based logging for your service

## When to avoid
- your system uses systemd, which has native unit files
- you need advanced service features like dependency ordering, socket activation, or supervision

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools, deployment, cli
- domain: operating-systems, self-hosted, developer-tools
- platform: cli
- tags: init-script, sysvinit, shell-template, service-management, boilerplate, devops, linux

## Member repositories
- fhd/init-script-template (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.890658+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:33:36.139059+00:00, confidence not recorded.
  - readme: https://github.com/fhd/init-script-template (fetched 2026-08-28T04:03:32.890658+00:00, sha 50ffa03e6ac5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
