[Unit]
Description=Spring Boot Application
After=network.target

[Service]
User=ssm-user
EnvironmentFile=/etc/systemd/system/springboot-app.var
ExecStart=/usr/bin/java -jar /home/ssm-user/app-0.0.1-SNAPSHOT.jar
SuccessExitStatus=143
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target