Systemd status for rygel service
Submitted by John Obaterspok
Link to original bug (#762664)
Description
It would be nice if the current status could be shown using sd_notify() Like "Status: Creating initial database 10% complete" or "Status: Serving 3 files, last xxxxx.mpg"
# systemctl status rygel
● rygel.service - Rygel DLNA server
Loaded: loaded (/etc/systemd/system/rygel.service; enabled; vendor preset: disabled)
Active: active (running) since fre 2016-02-19 09:26:39 CET; 27min ago
Main PID: 17884 (rygel)
CGroup: /system.slice/rygel.service
├─17884 /usr/bin/rygel
└─17897 /usr/libexec/rygel/mx-extract --input-fd=3 --output-fd=4 --extract-metadata --extract-metadata
Apache shows this:
# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: active (running) since ons 2016-02-17 19:37:40 CET; 1 day 14h ago
Main PID: 29393 (httpd)
Status: "Total requests: 288; Idle/Busy workers 50/50;Requests/sec: 0.00208; Bytes served/sec: 10 B/sec"
CGroup: /system.slice/httpd.service
Edited by Jens Georg