运行halo.service配置后,查看运行状态报错代码
● halo.service
Loaded: loaded (/etc/systemd/system/halo.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-11-09 12:57:10 UTC; 32s ago
Process: 14746 ExecStart=/usr/bin/java -server -Xms256m -Xmx256m -jar /zcj/halo_web/halo-1.4.2.jar (code=exited, status=203/EXEC)
Main PID: 14746 (code=exited, status=203/EXEC)
Nov 09 12:57:10 aml systemd[1]: halo.service: Service RestartSec=100ms expired, scheduling restart.
Nov 09 12:57:10 aml systemd[1]: halo.service: Scheduled restart job, restart counter is at 5.
Nov 09 12:57:10 aml systemd[1]: Stopped halo.service.
Nov 09 12:57:10 aml systemd[1]: halo.service: Start request repeated too quickly.
Nov 09 12:57:10 aml systemd[1]: halo.service: Failed with result 'exit-code'.
Nov 09 12:57:10 aml systemd[1]: Failed to start halo.service.