Nowaker / 1 year, 8 months ago | Download | Plaintext | Odpowiedz |

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[Unit]
Description=Sonatype Nexus 2.x
After=network.target

[Service]
EnvironmentFile=/etc/conf.d/nexus
ExecStart=/opt/nexus/bin/nexus start
ExecStop=/opt/nexus/bin/nexus stop
ExecReload=/opt/nexus/bin/nexus restart
Type=forking
User=nexus

[Install]
WantedBy=multi-user.target