Add option to reset server

This commit is contained in:
Adolfo Perez Alvarez 2022-10-04 16:11:41 +02:00
parent e96b59654e
commit a46eb7b5c5
1 changed files with 8 additions and 0 deletions

8
lr
View File

@ -8,6 +8,14 @@ function lr
bl)
(jr && modules/apps/portal-language/portal-language-all && gw buildLang)
;;
kill)
pkill -9 -f Liferay
psql -c 'drop schema ce cascade;' -c 'create schema authorization ce;' postgres postgres
(jr && rm -rf ../bundles/data && rm -rf ../bundles/osgi/state)
;;
killdaemon)
pkill -9 -f gradle
;;
sf|fs)
(jr && cd portal-impl && ant format-source)
;;