It's best practice to run daemons as their own user, so I have added an option to facilitate that.
When testing, I found that the PIDFile option was not only unneeded, but causing issues when running NATS as another user. A systemd unit file of type simple (default) doesn't need a pid file.
It's best practice to run daemons as their own user, so I have added an option to facilitate that.
When testing, I found that the PIDFile option was not only unneeded, but causing issues when running NATS as another user. A systemd unit file of type
simple
(default) doesn't need a pid file.