summaryrefslogtreecommitdiffstats
path: root/units/systemd-binfmt.service.in
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-17 03:41:18 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-04-28 14:52:17 +0200
commitb53374f99b619abd90a7c19d69d37a3298b084d5 (patch)
treed88887a7612fdc1de6030b2df2e2bf67b990d3a7 /units/systemd-binfmt.service.in
parenthwdb: coalesce same pointingstick entries into one (diff)
downloadsystemd-b53374f99b619abd90a7c19d69d37a3298b084d5.tar.xz
systemd-b53374f99b619abd90a7c19d69d37a3298b084d5.zip
units: specify timeouts for more oneshot services
Even trivial service occasionally get stuck, for example when there's a problem with the journal. There's nothing more annoying that looking at the cylon eye for a job with an infinite timeout. Use standard 90s for jobs that do some work, and 30s for those which should be almost instantenous.
Diffstat (limited to 'units/systemd-binfmt.service.in')
-rw-r--r--units/systemd-binfmt.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-binfmt.service.in b/units/systemd-binfmt.service.in
index 34a5d5237b..d53073ee61 100644
--- a/units/systemd-binfmt.service.in
+++ b/units/systemd-binfmt.service.in
@@ -24,3 +24,4 @@ ConditionDirectoryNotEmpty=|/run/binfmt.d
Type=oneshot
RemainAfterExit=yes
ExecStart=@rootlibexecdir@/systemd-binfmt
+TimeoutSec=90s