summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorIWAMOTO Toshihiro <iwamoto@valinux.co.jp>2017-02-28 15:12:01 +0900
committerIWAMOTO Toshihiro <iwamoto@valinux.co.jp>2017-03-02 10:58:04 +0900
commit6285b63572c893391cb1a9e0c482658938f13329 (patch)
tree04bd24a0c5b09340b224be4b4f1ddd397f24b080 /etc
parent0fa59b04e89ad94085780550466368e6f351a9e1 (diff)
downloadoslo-rootwrap-6285b63572c893391cb1a9e0c482658938f13329.tar.gz
Allow rootwrap-daemon to timeout and exit
If the client side abnormally exits, its rootwrap daemon cannot receive a shutdown message and will be left forever. Let it timeout and exit to save such cases. Change-Id: I783717b5fa019371747b98bf92965b6e689603f6 Related-bug: #1658973 Related-bug: #1658977 Related-bug: #1663458
Diffstat (limited to 'etc')
-rw-r--r--etc/rootwrap.conf.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rootwrap.conf.sample b/etc/rootwrap.conf.sample
index a29f501..b8f528f 100644
--- a/etc/rootwrap.conf.sample
+++ b/etc/rootwrap.conf.sample
@@ -25,3 +25,6 @@ syslog_log_facility=syslog
# INFO means log all usage
# ERROR means only log unsuccessful attempts
syslog_log_level=ERROR
+
+# Rootwrap daemon exits after this seconds of inactivity
+daemon_timeout=600