johnniang 你好,我在这个文件时这样配置的为什么还是不行?
[Unit]
Description=Halo Service
Documentation=https://halo.run
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/java/jdk1.8.0_191/bin/java -server -Xms256m -Xmx256m -jar /usr/local/halo/halo-latest.jar
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
[Install]
WantedBy=multi-user.target