Update README.md

This commit is contained in:
chiu 2020-10-01 18:11:40 +08:00
parent e236815388
commit a8abedb5b8
1 changed files with 9 additions and 1 deletions

View File

@ -260,7 +260,15 @@ $ sudo systemctl start rc.local
# 附註 orbit # 附註 orbit
底下#!/bin/bash請務必要加 底下#!/bin/bash請務必要加
#!/bin/bash #!/bin/bash
### BEGIN INIT INFO
# Provides: ruling.digital
# Required-Start: $network
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start orbit daemon at boot time
# Description: Start orbit daemon at boot time
### END INIT INFO
ORBIT_USER=rulingcom ORBIT_USER=rulingcom
if [ -f "/home/$ORBIT_USER/.rvm/scripts/rvm" ]; then if [ -f "/home/$ORBIT_USER/.rvm/scripts/rvm" ]; then