mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-12 19:54:16 +00:00
19 lines
363 B
Markdown
19 lines
363 B
Markdown
# Script: isrunning-service
|
|
|
|
A script that shows if a systemd service is running. It uses `journalctl` to get realtime output.
|
|
|
|
|
|
## Configuration
|
|
|
|
Make sure that your user is member of the group `systemd-journal` to read all events.
|
|
|
|
|
|
## Module
|
|
|
|
```ini
|
|
[module/isrunning-service]
|
|
type = custom/script
|
|
exec = ~/polybar-scripts/isrunning-service.sh
|
|
tail = true
|
|
```
|