Last active
February 20, 2019 02:19
-
-
Save usmansaleem/ba4a228f6626bfcf01e96f5323705714 to your computer and use it in GitHub Desktop.
systemd configuration for spring boot application. On Ubuntu, create symlink /etc/systemd/system/blogboot.service pointing to actual file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Blog Boot | |
After=syslog.target | |
[Service] | |
User=bootapp | |
Environment="JAVA_HOME=/var/blogboot/jdk-11.0.2+7-jre" | |
ExecStart=/var/blogboot/blog-boot-0.0.0-SNAPSHOT.jar | |
SuccessExitStatus=143 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment