Systemd status for rygel service



Hi,

I'm starting rygel without an initial database and it seems to take many hours to initialize the database (I believe it used to be much faster).

Anyway, 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

feb 19 09:54:10 nasse.win.lan rygel[17884]: (mx-extract:17897): gupnp-dlna-guesser-DEBUG: Stream: image/jpeg, depth=(int)24, width=(int)800, height=(int)600
feb 19 09:54:10 nasse.win.lan rygel[17884]: Restrictions: image/jpeg, width=(int)[ 1, 640 ], height=(int)[ 1, 480 ]
feb 19 09:54:10 nasse.win.lan rygel[17884]: (mx-extract:17897): gupnp-dlna-guesser-DEBUG: Image did not match
feb 19 09:54:10 nasse.win.lan rygel[17884]: (mx-extract:17897): gupnp-dlna-guesser-DEBUG: Matching image against profile: JPEG_MED
feb 19 09:54:10 nasse.win.lan rygel[17884]: (mx-extract:17897): gupnp-dlna-guesser-DEBUG: Stream: image/jpeg, depth=(int)24, width=(int)800, height=(int)600
feb 19 09:54:10 nasse.win.lan rygel[17884]: Restrictions: image/jpeg, width=(int)[ 1, 1024 ], height=(int)[ 1, 768 ]


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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]