10verity/verity-generator: --restart-on-corruption
This commit is contained in:
parent
43724ed9e2
commit
a806ac7119
|
@ -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