18794: Make "touch restart.txt" recipe work when owned by root.
authorTom Clegg <tom@curii.com>
Thu, 5 May 2022 21:42:46 +0000 (17:42 -0400)
committerTom Clegg <tom@curii.com>
Thu, 5 May 2022 21:42:46 +0000 (17:42 -0400)
commit00542ded608212e8245429001f1a0a0a736f2e71
tree0ef51f011f681a97585821ab8172ff4c06b46d70
parenteaaec81f7cd6c26b3496d800f8e1827ab7a6445c
18794: Make "touch restart.txt" recipe work when owned by root.

If root has done "touch {tmp}/restart.txt", then the www-data user
cannot utime() or write() the existing file, but can remove it and
create a new one.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
apps/workbench/config/initializers/reload_config.rb
services/api/config/initializers/reload_config.rb