Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run springboot as a service linux

#how to run your springboot as a service on linux
#add a file in you /etc/systemd/system/yourjarfile.service
#start file
[Unit]
Description=SaaS Service
After=syslog.target

[Service]
Type=simple
User=root
Restart=always
RestartSec=5
ExecStart=/path/to/yourjarfile.jar
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target

#end of file
#systemctl enable yourjarfile.service
#systemctl start yourjarfile.service
#systemctl status yourjarfile.service
Comment

PREVIOUS NEXT
Code Example
Shell :: docker prune -a 
Shell :: How to Get VS Code Extensions as .ps1 for Installing to Another Computer 
Shell :: linux get ip by domain 
Shell :: bash get dir of file 
Shell :: get wsl version 
Shell :: fetching a forked branch 
Shell :: check if systemctl service is running linux 
Shell :: AVCONV linux how to install 
Shell :: nvm change node version 
Shell :: search file in linux terminal 
Shell :: fatal error: ft2build.h: No such file or directo 
Shell :: add current directory to path 
Shell :: global configuration git 
Shell :: vim wnd of file 
Shell :: connect to a pod 
Shell :: bash for loop string 
Shell :: create new branch without losing changes 
Shell :: git remote origin 
Shell :: linux && 
Shell :: download windows lock screen wallpaper 
Shell :: intsall ifconfig mac os 
Shell :: linux convert mp3 to ogg 
Shell :: install ionic 
Shell :: vscode tab not working ubuntu windows 
Shell :: how to download using curl 
Shell :: how to run .run file in linux 
Shell :: how to update to latest LTS version of ubuntu 
Shell :: Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;28.0.3 Android SDK Build-Tools 28.0.3 platforms;android-29 Android SDK Platform 29 
Shell :: depmod: not found 
Shell :: intall docker ubuntu command 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =