summaryrefslogtreecommitdiff
authorRichard Hughes <richard@hughsie.com>2009-12-15 14:14:04 (GMT)
committer Richard Hughes <richard@hughsie.com>2009-12-15 14:42:11 (GMT)
commit66d3fc26054abd528ee18017d9c67edb6400f239 (patch) (side-by-side diff)
treea0d5e14b27603a59ebfd3dc5fbea8b3a339aff8a
parent22196a4af0ca470d518e51cf315da7472d892b6f (diff)
downloadpackagekit-66d3fc26054abd528ee18017d9c67edb6400f239.zip
packagekit-66d3fc26054abd528ee18017d9c67edb6400f239.tar.gz
Add a new config file entry, NoUpdateProcessList that specifies processes that should not be updated when running
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--etc/PackageKit.conf.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/PackageKit.conf.in b/etc/PackageKit.conf.in
index 1d31631..5a43da5 100644
--- a/etc/PackageKit.conf.in
+++ b/etc/PackageKit.conf.in
@@ -250,3 +250,20 @@ TransactionKeepFinishedTimeout=5
# default=true
UseIdleBandwidth=true
+# Processes that cannot be updated when they are running
+#
+# Some processes do not cope well when they are upgraded when the binary is
+# running. These include things like firefox, where updating causes the original
+# instance to misbehave as some components are not locked in memory.
+#
+# Applications can be added here that do not cope well with being updated.
+#
+# NOTE: you should not list applications here that the user has no permission
+# or cannot shutdown without the session exploding. For instance, listing
+# /sbin/dbus-daemon or /usr/sbin/haldaemon would be a really bad idea.
+#
+# Seporate entries can be seporated with the ';' character.
+#
+# default=/usr/lib/*/firefox
+NoUpdateProcessList=/usr/lib/*/firefox
+