Skip to content

Instantly share code, notes, and snippets.

View eclecticpassions's full-sized avatar
👩‍💻
Consolidating my digital life.

Naty eclecticpassions

👩‍💻
Consolidating my digital life.
View GitHub Profile
@eclecticpassions
eclecticpassions / navidrome_sysv_init.md
Last active May 18, 2024 18:51
Navidrome SysV Init script (Linux installation guide without systemd)

On the official Navidrome Linux install guide, they only provided steps on how to create a systemd unit and how to start the service using sudo systemctl. https://www.navidrome.org/docs/installation/linux/

But for those using Linux distros without systemd like AntiX, Devuan, Alpine, Artix, MX Linux etc, you have to convert the provided systemd unit template and place it in another folder instead of /etc/systemd/system/ named navidrome.service.

Use the following template to create a SysV init script. Change <user> and <group> to your appropriate user and group for your server.

#!/bin/sh
### BEGIN INIT INFO