From 56a2fb1e22a093a6fc8fda7e6bd6e3c30de6e2b7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Nov 2022 10:26:45 +0000 Subject: [PATCH] Drop no longer required sudo on taginfo passenger restart --- cookbooks/taginfo/templates/default/update.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/taginfo/templates/default/update.erb b/cookbooks/taginfo/templates/default/update.erb index 99b322f57..caad71353 100644 --- a/cookbooks/taginfo/templates/default/update.erb +++ b/cookbooks/taginfo/templates/default/update.erb @@ -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 -- 2.39.5