16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
[Unit]
|
|
Description=A Spring Boot application
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
User=[user du dossier]
|
|
ExecStart=[chemin jusqu'au .jar]
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
[(DANS : ) /etc/systemd/system]
|
|
[-rw-r--r-- 1 root root 163 nov. 22 2018 java-api.service]
|
|
|
|
[-rwxr-xr-x 1 root root 44823539 avril 18 20:17 java-api-0.1.jar]
|
|
[chmod 755 java-api-0.1.jar] |