Skip to content

Commit

Permalink
docs: fix admonitions for desktop notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ncosta-ic committed Jul 3, 2024
1 parent 16926db commit ef35f40
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions doc/06-Desktop-Notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
With Icinga Notifications, users are able to enable desktop notifications which will inform them about severity
changes in incidents they are notified about.

> **Note**
>
> This feature is currently considered experimental and might not work as expected in all cases.
> We will continue to improve this feature in the future. Your feedback is highly appreciated.
!!! Note
This feature is currently considered experimental and might not work as expected in all cases.
We will continue to improve this feature in the future. Your feedback is highly appreciated.

## How It Works

Expand Down Expand Up @@ -81,23 +80,22 @@ location ~ ^/icingaweb2/notifications/v(\d+)/subscribe$ {
}
```

> **Note**
>
> Since these connections are long-lived, the default web server configuration might impose a too small limit on
> the maximum number of connections. Make sure to adjust this limit to a higher value. If working correctly, the
> daemon will limit the number of connections per client to 2.
!!! Note
Since these connections are long-lived, the default web server configuration might impose a too small limit on
the maximum number of connections. Make sure to adjust this limit to a higher value. If working correctly, the
daemon will limit the number of connections per client to 2.

### Enable The Daemon

The default `systemd` service, shipped with package installations, runs the background daemon.

<!-- {% if not icingaDocs %} -->

> **Note**
>
> If you haven't installed this module from packages, you have to configure this as a `systemd` service yourself by just
> copying the example service definition from `/usr/share/icingaweb2/modules/notifications/config/systemd/icinga-notifications-web.service`
> to `/etc/systemd/system/icinga-notifications-web.service`.
!!! Note
If you haven't installed this module from packages, you have to configure this as a `systemd` service yourself by just
copying the example service definition from `/usr/share/icingaweb2/modules/notifications/config/systemd/icinga-notifications-web.service`
to `/etc/systemd/system/icinga-notifications-web.service`.

<!-- {% endif %} -->

You can run the following command to enable and start the daemon.
Expand Down

0 comments on commit ef35f40

Please sign in to comment.