Skip to content

Instantly share code, notes, and snippets.

@johnrc
Forked from esamson/.gitignore
Last active June 6, 2016 16:41
Show Gist options
  • Select an option

  • Save johnrc/dce9993f6d52413a5c015430e13c0b38 to your computer and use it in GitHub Desktop.

Select an option

Save johnrc/dce9993f6d52413a5c015430e13c0b38 to your computer and use it in GitHub Desktop.

Revisions

  1. johnrc revised this gist Jun 6, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions nexus.service
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    [Unit]
    Description=Sonatype Nexus
    After=network.target

    [Service]
    Type=forking
  2. @esamson esamson revised this gist Sep 4, 2015. No changes.
  3. @esamson esamson revised this gist Sep 4, 2015. No changes.
  4. Edward Samson revised this gist Feb 21, 2015. 3 changed files with 5 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions .gitignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    default.target.wants/
    nexus
    2 changes: 2 additions & 0 deletions nexus.env
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    JAVA_HOME=/home/esamson/.local/opt/jdk
    PATH=/home/esamson/.local/opt/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    1 change: 1 addition & 0 deletions nexus.service
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@ Description=Sonatype Nexus

    [Service]
    Type=forking
    EnvironmentFile=-/home/esamson/.config/systemd/user/nexus.env
    PIDFile=/home/esamson/.local/opt/nexus/bin/jsw/linux-x86-64/nexus.pid
    ExecStart=/home/esamson/.local/opt/nexus/bin/nexus start
    ExecReload=/home/esamson/.local/opt/nexus/bin/nexus restart
  5. Edward Samson revised this gist Feb 19, 2015. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions nexus.service
    Original file line number Diff line number Diff line change
    @@ -3,10 +3,10 @@ Description=Sonatype Nexus

    [Service]
    Type=forking
    PIDFile=/home/esamson/.local/nexus/bin/jsw/linux-x86-64/nexus.pid
    ExecStart=/home/esamson/.local/nexus/bin/nexus start
    ExecReload=/home/esamson/.local/nexus/bin/nexus restart
    ExecStop=/home/esamson/.local/nexus/bin/nexus stop
    PIDFile=/home/esamson/.local/opt/nexus/bin/jsw/linux-x86-64/nexus.pid
    ExecStart=/home/esamson/.local/opt/nexus/bin/nexus start
    ExecReload=/home/esamson/.local/opt/nexus/bin/nexus restart
    ExecStop=/home/esamson/.local/opt/nexus/bin/nexus stop

    [Install]
    Alias=nexus
  6. @esamson esamson created this gist Dec 1, 2014.
    13 changes: 13 additions & 0 deletions nexus.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    [Unit]
    Description=Sonatype Nexus

    [Service]
    Type=forking
    PIDFile=/home/esamson/.local/nexus/bin/jsw/linux-x86-64/nexus.pid
    ExecStart=/home/esamson/.local/nexus/bin/nexus start
    ExecReload=/home/esamson/.local/nexus/bin/nexus restart
    ExecStop=/home/esamson/.local/nexus/bin/nexus stop

    [Install]
    Alias=nexus
    WantedBy=default.target