Created
May 29, 2018 06:07
-
-
Save ethnchao/e149e739e67989f6ea05087d51551b5b to your computer and use it in GitHub Desktop.
Systemd nexus2.service
This file contains 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=Sonatype-Work Nexus 2 Service | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/opt/sonatype-work/nexus2/bin/nexus start | |
ExecStop=/opt/sonatype-work/nexus2/bin/nexus stop | |
ExecReload=/opt/sonatype-work/nexus2/bin/nexus restart | |
User=admin | |
Restart=on-abort | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment