summarylogtreecommitdiffstats
path: root/nexus.service
blob: cfaf8900808905252309d58d77bdf337e18e8867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Sonatype Nexus 2.x
After=network.target

[Service]
ExecStart=/opt/nexus/bin/nexus start
ExecStop=/opt/nexus/bin/nexus stop
ExecReload=/opt/nexus/bin/nexus restart
PIDFile=/opt/nexus/run/nexus.pid
Type=forking
User=nexus

[Install]
WantedBy=multi-user.target