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]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
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
|
ExecStop=/sbin/veritysetup remove root
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue