diff --git a/config/production/install.sh b/config/production/install.sh index f89dafa..e655b00 100644 --- a/config/production/install.sh +++ b/config/production/install.sh @@ -43,4 +43,5 @@ su - app -c "echo 'source .environment' > .bash_profile" # Reminders echo "[REMEMBER!]" -echo " - Create ssh keypair for the server." +echo " - Create ssh keypair for the app user." +echo " - Configure sudo to let app user execute the maintenance scripts." diff --git a/config/server/drop_caches.sh b/config/server/drop_caches.sh new file mode 100644 index 0000000..b1d3339 --- /dev/null +++ b/config/server/drop_caches.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo 3 > /proc/sys/vm/drop_caches