Can we set nologin on nexus account of Linux server?

Hi

It was required to set nologin on any accounts which is used as service account.
If nologin is set on nexus account linux server, Sonatype Nexus Repository can work without any problem?