https://github.com/mjs/sdshout
Get desktop notifications when systemd units fail
https://github.com/mjs/sdshout
Last synced: 5 months ago
JSON representation
Get desktop notifications when systemd units fail
- Host: GitHub
- URL: https://github.com/mjs/sdshout
- Owner: mjs
- License: apache-2.0
- Created: 2024-07-29T11:10:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T11:08:55.000Z (9 months ago)
- Last Synced: 2025-01-13T09:43:58.706Z (5 months ago)
- Language: Rust
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sdshout ("systemd shout")
sdshout is a simple service which generates desktop notifications on Linux
systems when systemd services fail. It's useful for knowing when system
updates, automated backups or other critical jobs aren't working.
sdshout is intended to run a user systemd service. It connects to the system
D-Bus to detect failed services.## Installation
### Nix
On flake enabled Nix systems, sdshout can be run or installed from
`github:mjs/sdshout`. For example, to just give it a try:```
nix run github:mjs/sdshout
```Integration as a NixOS flake input is also possible.
### Cargo
If you have Rust toolchain available, sdshout can be installed with:
```
cargo install sdshout
```### Service Installation
1. Copy the [sample service file](sdshout.service) to `~/.config/systemd/user`
2. Edit the file and modify the `ExecStart` line to suit
3. `systemctl --user daemon-reload`
4. `systemctl --user enable --now sdshout.service`## Roadmap
See issues labeled with [Enhancement](https://github.com/mjs/sdshout/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement) on GitHub.