Rc.local failed to boot and execute the application written in Go

/ etc/rc.d/rc.local and / etc/rc.local are both given execution permissions
/ etc/rc.d/rc.local and / etc/rc.local are configured as follows

-sharp!/bin/bash
-sharp THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
-sharp
-sharp It is highly advisable to create own systemd services or udev rules
-sharp to run scripts during boot instead of using this file.
-sharp
-sharp In contrast to previous versions due to parallel execution during boot
-sharp this script will NOT be run after all other services.
-sharp
-sharp Please note that you must run "chmod +x /etc/rc.d/rc.local" to ensure
-sharp that this script will be executed during boot.

touch /var/lock/subsys/local
/usr/opt/nginx/sbin/nginx
/usr/opt/etlive-page-01/server
/usr/opt/etlive-page-02/server
service iptables start 

server is the executable file that compiles the output of the go file on this linux. Manual execution can be performed
execution effect

[root@Nginx02 etlive-page-01]-sharp pwd
/usr/opt/etlive-page-01
[root@Nginx02 etlive-page-01]-sharp ./server
2018/04/04 18:01:59 [I] http server Running on http://:8080
Mar.02,2021

try this

  

in addition to the background execution mentioned above, give it a try.
and do you want to make sure that the direct / usr/opt/etlive-page-01/server operation is OK? Check whether there is a place in the program to write dead calls to the relative directory (the current directory)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be895a-5456b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be895a-5456b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?