2020-11-12 22:01:58 +01:00
|
|
|
[Unit]
|
|
|
|
Description=nexus service
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
LimitNOFILE=65536
|
2020-11-12 22:40:59 +01:00
|
|
|
PIDFile={{ nexus_webapp_dir }}/bin/jsw/linux-x86-64/nexus.pid
|
2020-11-12 22:01:58 +01:00
|
|
|
ExecStart={{ nexus_webapp_dir }}/bin/nexus start
|
2020-11-12 22:40:59 +01:00
|
|
|
ExecReload={{ nexus_webapp_dir }}/bin/nexus restart
|
2020-11-12 22:01:58 +01:00
|
|
|
ExecStop={{ nexus_webapp_dir }}/bin/nexus stop
|
|
|
|
User={{ nexus_user }}
|
|
|
|
Restart=on-abort
|
|
|
|
TimeoutSec=600
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|