Mise à jour des fichiers de configuration pour SOC-SFRV2-REC01

This commit is contained in:
2024-11-26 17:17:23 +01:00
parent 35214ddbf8
commit f0323d517c
15 changed files with 573 additions and 8 deletions

View File

@@ -0,0 +1,23 @@
[Unit]
Description=Tomcat socle
After=network-online.target
[Service]
Type=forking
User=socleng-sfr
Group=socleng-sfr
UMask=007
Environment=JAVA_HOME=/usr/lib/jvm/java-1.17.0-openjdk-amd64
ExecStart=/home/socleng-sfr/tomcat/bin/startup.sh
ExecStop=/home/socleng-sfr/tomcat/bin/shutdown.sh
Restart=on-failure
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target