increase the nexus service max file descriptors and its restart mode

This commit is contained in:
Rui Lopes 2017-11-16 22:58:39 +00:00
parent 803e228518
commit 0d1355d258
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ User=nexus
Group=nexus Group=nexus
ExecStart=/opt/nexus/bin/nexus run ExecStart=/opt/nexus/bin/nexus run
WorkingDirectory=/opt/nexus WorkingDirectory=/opt/nexus
Restart=always Restart=on-abort
LimitNOFILE=65536
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target