Update README.md
This commit is contained in:
parent
ffacbc9dce
commit
37c4240b25
|
@ -258,6 +258,7 @@ $ sudo systemctl start rc.local
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
# 附註 orbit
|
# 附註 orbit
|
||||||
|
底下#!/bin/bash請務必要加
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ORBIT_USER=rulingcom
|
ORBIT_USER=rulingcom
|
||||||
|
@ -266,7 +267,9 @@ if [ -f "/home/$ORBIT_USER/.rvm/scripts/rvm" ]; then
|
||||||
source /home/$ORBIT_USER/.rvm/scripts/rvm
|
source /home/$ORBIT_USER/.rvm/scripts/rvm
|
||||||
rvm use default
|
rvm use default
|
||||||
else
|
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 "-----------------------------------------------------"
|
echo "-----------------------------------------------------"
|
||||||
echo "Orbit server dependencies is missing. Please run setup first."
|
echo "Orbit server dependencies is missing. Please run setup first."
|
||||||
|
|
Loading…
Reference in New Issue