14 lines
295 B
Plaintext
14 lines
295 B
Plaintext
[Unit]
|
|
Description=A Spring Boot application
|
|
After=syslog.target
|
|
|
|
[Service]
|
|
User=root
|
|
ExecStart=/home/projet/api/java-api-0.1.jar
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
[(DANS : ) /etc/systemd/system]
|
|
[-rwxr-xr-x 1 root root 44823539 avril 18 20:17 java-api-0.1.jar]
|
|
[chmod 755 java-api-0.1.jar] |