Use libkeepalive to mitigate process suspend
This commit is contained in:
parent
40c9efbd9f
commit
a492a6450e
2 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ Description=Battery Buddy background daemon
|
||||||
After=pre-user-session.target
|
After=pre-user-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/harbour-batterybuddy-daemon --logfile
|
ExecStart=/usr/bin/keepalive-tool -- /usr/bin/harbour-batterybuddy-daemon --logfile
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=user-session.target
|
WantedBy=user-session.target
|
||||||
|
|
|
@ -20,6 +20,7 @@ Source0: %{name}-%{version}.tar.bz2
|
||||||
Requires: sailfishsilica-qt5 >= 0.10.9
|
Requires: sailfishsilica-qt5 >= 0.10.9
|
||||||
Requires: nemo-qml-plugin-configuration-qt5
|
Requires: nemo-qml-plugin-configuration-qt5
|
||||||
Requires: nemo-qml-plugin-notifications-qt5
|
Requires: nemo-qml-plugin-notifications-qt5
|
||||||
|
Requires: libkeepalive-glib-tools
|
||||||
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
|
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
|
||||||
BuildRequires: pkgconfig(nemonotifications-qt5)
|
BuildRequires: pkgconfig(nemonotifications-qt5)
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
|
Loading…
Reference in a new issue