使用此命令启动和运行我传递参数./target/myapp-SNAPSHOT.jar的停靠容器,其中./target/myapp-SNAPSHOT.jarstandard_init_linux.go:211: exec user process caused "exec format errorCOPY J_FILE /myapp.jar
RUN chmod +x
我是unix/linux的新手,如果程序没有运行,我需要一个shell脚本来启动它。这个程序应该打印这个“为Get_Job1启动ftp检查”。语句,每30秒一次。如果没有,我需要一个shell脚本来启动进程。/ftp_util_mtc_pp.sh & ( this command restarts the process ).我有一个"ftp_util_mtc_pp.sh“文件,在这个文件中,我有以下命令:
#!/bin/bash