Mise à jour des fichiers de configuration pour SOC-SFRV2-REC01
This commit is contained in:
23
ConfigSysRepo/etc/systemd/system/socle.service
Normal file
23
ConfigSysRepo/etc/systemd/system/socle.service
Normal 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
|
||||
Reference in New Issue
Block a user