Add the TimeoutStartSec in the below file:
# cat /usr/lib/systemd/system/artifactory.service [Unit] Description=Artifactory service After=network.target [Service] Type=forking GuessMainPID=yes Restart=always RestartSec=60 PIDFile=/var/run/artifactory.pid ExecStart=/root/artifactory-pro-7.37.15/app/bin/artifactoryManage.sh start ExecStop=/root/artifactory-pro-7.37.15/app/bin/artifactoryManage.sh stop TimeoutStartSec=240 [Install] WantedBy=multi-user.target Alias=artifactory.service