Created
October 24, 2019 13:57
-
-
Save blackknight36/4311e40fa65085c096710b4e627b76f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Setup Systemd script for Artifactory in Tomcat Servlet Engine | |
After=network.target | |
[Service] | |
Type=forking | |
GuessMainPID=yes | |
Restart=always | |
RestartSec=5 | |
PIDFile=/var/opt/jfrog/run/artifactory.pid | |
ExecStart=/opt/jfrog/artifactory/bin/artifactoryManage.sh start | |
ExecStop=/opt/jfrog/artifactory/bin/artifactoryManage.sh stop | |
User=artifactory | |
Group=artifactory | |
LimitNOFILE=32000 | |
[Install] | |
WantedBy=multi-user.target | |
Alias=artifactory.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, it works for me on Centos 7.7