summaryrefslogtreecommitdiff
path: root/src/cryptsetup-generator.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-14 02:36:02 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 02:03:34 +0200
commit9072492933eaacbcd8daed3f9baf90583dd22574 (patch)
tree9379d0cafb4625cc9214c504f38d269e642ee765 /src/cryptsetup-generator.c
parentef9eb0a8976140654827d479af1f4256fae6afe3 (diff)
crypto: let the cryptsetup binary handles its own configurable timeouts
Diffstat (limited to 'src/cryptsetup-generator.c')
-rw-r--r--src/cryptsetup-generator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c
index 9b62e6a6d3..b57c0b742a 100644
--- a/src/cryptsetup-generator.c
+++ b/src/cryptsetup-generator.c
@@ -115,6 +115,7 @@ static int create_disk(
"\n[Service]\n"
"Type=oneshot\n"
"RemainAfterExit=yes\n"
+ "TimeoutSec=0\n" /* the binary handles timeouts anyway */
"ExecStart=" SYSTEMD_CRYPTSETUP_PATH " attach '%s' '%s' '%s' '%s'\n"
"ExecStop=" SYSTEMD_CRYPTSETUP_PATH " detach '%s'\n",
name, u, strempty(password), strempty(options),