u
This commit is contained in:
parent
b53452ba1d
commit
a8164c9c0c
|
@ -3,12 +3,14 @@ Description=A Spring Boot application
|
||||||
After=syslog.target
|
After=syslog.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=[user du dossier]
|
||||||
ExecStart=/home/projet/api/java-api-0.1.jar
|
ExecStart=[chemin jusqu'au .jar]
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
[(DANS : ) /etc/systemd/system]
|
[(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]
|
[-rwxr-xr-x 1 root root 44823539 avril 18 20:17 java-api-0.1.jar]
|
||||||
[chmod 755 java-api-0.1.jar]
|
[chmod 755 java-api-0.1.jar]
|
Loading…
Reference in a new issue