mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-16 16:37:55 +00:00
Refined wording, review
This commit is contained in:
+8
-13
@@ -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
|
Please check out the [releases page](https://github.com/binwiederhier/ntfy/releases) for binaries and
|
||||||
deb/rpm packages.
|
deb/rpm packages.
|
||||||
|
|
||||||
### Just download and run
|
### 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.
|
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"
|
=== "x86_64/amd64"
|
||||||
```bash
|
```bash
|
||||||
@@ -67,8 +68,9 @@ Following those steps allow you to download ntfy server and run it in a pinch. B
|
|||||||
sudo ntfy serve
|
sudo ntfy serve
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install as a service starting at boot time
|
### 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.
|
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:
|
Create the ntfy user and group:
|
||||||
```bash
|
```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.
|
Depending on your init system, the following steps will diverge.
|
||||||
|
|
||||||
#### On systemd systems
|
#### On systemd systems
|
||||||
|
|
||||||
Install the ntfy server unit file (which contains parameters to start the service at boot time):
|
Install the ntfy server unit file (which contains parameters to start the service at boot time):
|
||||||
|
|
||||||
=== "x86_64/amd64"
|
=== "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
|
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
|
```bash
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
```
|
sudo systemctl start ntfy
|
||||||
|
|
||||||
Start the service:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo systemctl ntfy start
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### On OpenRC systems
|
#### On OpenRC systems
|
||||||
|
|
||||||
Install the ntfy server service script:
|
Install the ntfy server service script:
|
||||||
|
|
||||||
=== "x86_64/amd64"
|
=== "x86_64/amd64"
|
||||||
|
|||||||
@@ -1820,3 +1820,4 @@ for details.
|
|||||||
**Bug fixes + maintenance:**
|
**Bug fixes + maintenance:**
|
||||||
|
|
||||||
* Reject invalid e-mail addresses (e.g. multiple comma-separated recipients) with HTTP 400
|
* 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user