blob: fd6ab9b9793799b476f4026af7d5bf47414a123a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=Sonatype Nexus 2.x
After=network.target
[Service]
Environment=PLEXUS_NEXUS_WORK=/var/lib/nexus
ExecStart=/usr/lib/nexus/bin/nexus start
ExecStop=/usr/lib/nexus/bin/nexus stop
ExecReload=/usr/lib/nexus/bin/nexus restart
PIDFile=/run/nexus/nexus.pid
Type=forking
User=nexus
Group=nexus
[Install]
WantedBy=multi-user.target
|