mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #570] Modularize init and install scripts and remove hard requirement on systemd #432
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#432
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @code-kungfu on GitHub (Jan 4, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/570
Currently init and install scripts makes the assumption you are installing ntfy on a distro with systemd present.
As the unix-like world isn't just about systemd, and it is often the case systemd is prohibited, the scripts used needs to facilitate and support the most commonly used non-systemd init systems like SysV, OpenRC, s6, runit and so on, for users who runs Alpine Linux, Devuan Linux or any other non-systemd distro as their server base.
There are several ways this could be solved, but the most straight forward way, I would suggest to have have an init script generator which can be invoked in the postinst step and output an init script based on the target system.
@binwiederhier commented on GitHub (Mar 26, 2023):
Thank you for your suggestion. I understand that not all distros use systemd, and it would be great to support more init systems. However, I am not able to create an init script generator myself. You are free to create your own init script generator or use a third-party one.
@code-kungfu commented on GitHub (Mar 27, 2023):
@binwiederhier I understand you don't have the capacity to write an init script generator, but would you please keep this issue open?
I 'm working on SysV / OpenRC init / install scripts for ntfy for non-systemd distros.
Thank you.