10verity/verity-generator: --restart-on-corruption
This commit is contained in:
parent
ea5b4e0da2
commit
90ff0f5a21
|
@ -68,7 +68,7 @@ if [[ -n "${root}" && -n "${roothash}" ]]; then
|
|||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/bin/sh -c '/sbin/veritysetup create root ${hashoffset:+--hash-offset="${hashoffset}"} "${root}" "${root}" "${roothash}"'
|
||||
ExecStart=/bin/sh -c '/sbin/veritysetup --restart-on-corruption create root ${hashoffset:+--hash-offset="${hashoffset}"} "${root}" "${root}" "${roothash}"'
|
||||
ExecStop=/sbin/veritysetup remove root
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue