Created
June 25, 2016 02:44
-
-
Save johnrc/39ead83c4e4b62aa2858f36d6ef17a03 to your computer and use it in GitHub Desktop.
Revisions
-
johnrc created this gist
Jun 25, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ [Unit] Description=Sonatype Nexus After=centrifydc.service Requires=centrifydc.service [Service] User=user Group=group Type=forking PIDFile=/path/to/nexus-2.11.4-01-bundle/nexus-2.11.4-01/bin/jsw/linux-x86-64/nexus.pid TimeoutStartSec=0 ExecStart=/path/to/nexus-2.11.4-01-bundle/nexus-2.11.4-01/bin/nexus start ExecStop=/path/to/nexus-2.11.4-01-bundle/nexus-2.11.4-01/bin/nexus stop ExecReload=/path/to/nexus-2.11.4-01-bundle/nexus-2.11.4-01/bin/nexus restart RestartSec=20 [Install] Alias=nexus WantedBy=multi-user.target