X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffsck%40.service.in;h=4c595772dec63ac426271107c3f6319ebabddddd;hb=e9a5ef7cddcfcdb29b5aef3896931132b6fd5165;hp=0f4f026620fe51adae0778b0a45e4bf1f3c64306;hpb=335aa753fa60ba0bb3c9fe679c761d5f1f3b1588;p=elogind.git diff --git a/units/fsck@.service.in b/units/fsck@.service.in index 0f4f02662..4c595772d 100644 --- a/units/fsck@.service.in +++ b/units/fsck@.service.in @@ -1,17 +1,20 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] -Description=File System Check on %I +Description=File System Check on %f DefaultDependencies=no -After=systemd-readahead-collect.service systemd-readahead-replay.service -Before=local-fs.target shutdown.target +BindTo=%i.device +After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device +Before=shutdown.target [Service] Type=oneshot RemainAfterExit=no -ExecStart=@rootlibexecdir@/systemd-fsck %I +ExecStart=@rootlibexecdir@/systemd-fsck %f +StandardOutput=journal+console +TimeoutSec=0