u
This commit is contained in:
parent
b53452ba1d
commit
a8164c9c0c
|
@ -3,12 +3,14 @@ Description=A Spring Boot application
|
|||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
ExecStart=/home/projet/api/java-api-0.1.jar
|
||||
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]
|
Loading…
Reference in a new issue