Update README.md

This commit is contained in:
chiu 2020-09-21 14:35:55 +08:00
parent ffacbc9dce
commit 37c4240b25
1 changed files with 4 additions and 1 deletions

View File

@ -258,6 +258,7 @@ $ sudo systemctl start rc.local
```txt
# 附註 orbit
底下#!/bin/bash請務必要加
#!/bin/bash
ORBIT_USER=rulingcom
@ -266,7 +267,9 @@ if [ -f "/home/$ORBIT_USER/.rvm/scripts/rvm" ]; then
source /home/$ORBIT_USER/.rvm/scripts/rvm
rvm use default
else
if [ "$1" != "setup" ]; then
if [ -f "/etc/profile.d/rvm.sh" ]; then
source /etc/profile.d/rvm.sh
elif [ "$1" != "setup" ]; then
echo ""
echo "-----------------------------------------------------"
echo "Orbit server dependencies is missing. Please run setup first."