]> git.openstreetmap.org Git - chef.git/commitdiff
Drop no longer required sudo on taginfo passenger restart
authorTom Hughes <tom@compton.nu>
Wed, 30 Nov 2022 10:26:45 +0000 (10:26 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 30 Nov 2022 10:26:45 +0000 (10:26 +0000)
cookbooks/taginfo/templates/default/update.erb

index 99b322f57468357c1a844d875c76f37d49f0c6dc..caad713535e30848ab0aa5eb5ec5c818bb970208 100644 (file)
@@ -19,7 +19,7 @@ mv $ROOT/data/taginfo-* $ROOT/data/old
 mv $ROOT/sources/taginfo-*.db $ROOT/sources/*/taginfo-*.db $ROOT/data
 mv $ROOT/sources/download/* $ROOT/download
 
-sudo PASSENGER_INSTANCE_REGISTRY_DIR=<%= node[:passenger][:instance_registry_dir] %> /usr/bin/passenger-config restart-app $ROOT/taginfo/web > /dev/null
+PASSENGER_INSTANCE_REGISTRY_DIR=<%= node[:passenger][:instance_registry_dir] %> /usr/bin/passenger-config restart-app $ROOT/taginfo/web > /dev/null
 
 find $ROOT/sources/log -mtime +28 -delete