From 956c812e6ec042c1ddd36021cc0d4b69b963d2f6 Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Fri, 6 Sep 2024 17:21:27 +0200 Subject: [PATCH] Auto restart rails after bin/update --- bin/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/update b/bin/update index a763ffe26..82a89894f 100755 --- a/bin/update +++ b/bin/update @@ -40,6 +40,6 @@ FileUtils.chdir APP_ROOT do puts "\n== Removing old logs ==" system! 'bin/rails log:clear' - puts "\n== Done ==" - puts "You can now start (or restart) the application server with `bin/rails server`." + puts "\n== Restarting application server ==" + system! 'bin/rails restart' end