From f790143b0b89a654ffd81bf25182a367e3d7f229 Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Wed, 25 Mar 2026 17:35:24 -0400 Subject: [PATCH] Refined wording, review --- docs/install.md | 21 ++++++++------------- docs/releases.md | 1 + 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/docs/install.md b/docs/install.md index 48d98d2f..0bb241ea 100644 --- a/docs/install.md +++ b/docs/install.md @@ -28,8 +28,9 @@ resources to get started. _I am not affiliated with Kris or Alex, I just liked t Please check out the [releases page](https://github.com/binwiederhier/ntfy/releases) for binaries and deb/rpm packages. -### Just download and run -Following those steps allow you to download ntfy server and run it in a pinch. But it won't be enough to install it permanently as a service starting at boot time. +### Download and run +The steps below allow you to download ntfy server and run it in a pinch. But it won't be enough to install it permanently +as a service starting at boot time. === "x86_64/amd64" ```bash @@ -67,8 +68,9 @@ Following those steps allow you to download ntfy server and run it in a pinch. B sudo ntfy serve ``` -### Install as a service starting at boot time -If you want to install ntfy server permanently as a service, and your OS/distribution of choice doesn't offer a package, there are a few more steps to follow. +### Install as a service +If you want to install ntfy server permanently as a service, and your OS/distribution of choice doesn't offer a package, +there are a few more steps to follow. Create the ntfy user and group: ```bash @@ -78,7 +80,6 @@ useradd --system --home-dir /var/lib/ntfy --shell /bin/false --comment "User for Depending on your init system, the following steps will diverge. #### On systemd systems - Install the ntfy server unit file (which contains parameters to start the service at boot time): === "x86_64/amd64" @@ -105,20 +106,14 @@ Install the ntfy server unit file (which contains parameters to start the servic sudo chmod 644 /etc/systemd/system/ntfy.service ``` -Notify systemd we have added a new service: +Then notify systemd we have added a new service and start the service: ```bash sudo systemctl daemon-reload -``` - -Start the service: - -```bash -sudo systemctl ntfy start +sudo systemctl start ntfy ``` #### On OpenRC systems - Install the ntfy server service script: === "x86_64/amd64" diff --git a/docs/releases.md b/docs/releases.md index 70783a9f..feb2d00b 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -1820,3 +1820,4 @@ for details. **Bug fixes + maintenance:** * Reject invalid e-mail addresses (e.g. multiple comma-separated recipients) with HTTP 400 +* Add OpenRC init service file ([#1650](https://github.com/binwiederhier/ntfy/pull/1650), thanks to [@ageru](https://github.com/ageru) for the contribution)