Skip to content
Permalink
Browse files
[dsme] Enlist as dsme process watchdog client. JB#38433
In addition to ensuring that usb-moded gets restarted in case it gets stuck,
the process watchdog ping-pong allows scheduling of maintenance tasks at
times when system is going to be active anyway.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Apr 26, 2017
1 parent 78ae283 commit e1dc87e94bbe9a6ad2f64cd04a60515031c617ed
Showing with 625 additions and 108 deletions.
  1. +1 −0 configure.ac
  2. +1 −0 rpm/usb-moded.spec
  3. +623 −108 src/usb_moded-dsme.c
@@ -99,6 +99,7 @@ PKG_CHECK_MODULES([USB_MODED], [
libkmod
ssu-sysinfo
libsystemd
dsme
])

AC_SUBST(USB_MODED_LIBS)
@@ -16,6 +16,7 @@ BuildRequires: pkgconfig(libkmod)
BuildRequires: doxygen
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(ssu-sysinfo)
BuildRequires: pkgconfig(dsme)

Requires: lsof
Requires: usb-moded-configs

0 comments on commit e1dc87e

Please sign in to comment.