]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/taginfo/templates/default/update.erb
Drop no longer required sudo on taginfo passenger restart
[chef.git] / 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