com.xlrit.gears.ServerApplication Maven / Gradle / Ivy
package com.xlrit.gears;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.ApplicationPidFileWriter;
@SpringBootApplication
public class ServerApplication {
public static void main(String[] args) {
SpringApplication springApplication = new SpringApplication(ServerApplication.class);
springApplication.addListeners(new ApplicationPidFileWriter());
springApplication.run(args);
}
}