cetr
用ExecStart= 后面的也能成功。
[halo@wenchao app]$ /usr/bin/java -server -Xms256m -Xmx256m -jar /home/halo/app/halo.jar
__ __ __
/ / / /___ / /__
/ // / __ `/ / __ \
/ __ / // / / // /
// //_,//____/
Version: 1.4.8
2021-05-28 17:42:56.926 INFO 1851 --- [ main] run.halo.app.Application 。。。。
2021-05-28 17:43:31.954 INFO 1851 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema halodb
: 4
2021-05-28 17:43:31.956 INFO 1851 --- [ main] o.f.core.internal.command.DbMigrate : Schema halodb
is up to date. No migration necessary.
2021-05-28 17:43:31.964 INFO 1851 --- [ main] run.halo.app.listener.StartedListener : Migrate database succeed.
2021-05-28 17:43:32.410 INFO 1851 --- [ main] run.halo.app.listener.StartedListener : Halo started at http://127.0.0.1:8090
2021-05-28 17:43:32.411 INFO 1851 --- [ main] run.halo.app.listener.StartedListener : Halo admin started at http://127.0.0.1:8090/admin
2021-05-28 17:43:32.411 INFO 1851 --- [ main] run.halo.app.listener.StartedListener : Halo has started successfully!