Horje
run springboot as a service linux Code Example
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




Shell

Related
how to overwrite symlink linux Code Example how to overwrite symlink linux Code Example
what is meant by valence shell Code Example what is meant by valence shell Code Example
gpg change password Code Example gpg change password Code Example
ubuntu mouse cursor disappears Code Example ubuntu mouse cursor disappears Code Example
bash create folder in current directory Code Example bash create folder in current directory Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10