Hi, by ‘ps aux | grep icinga2’ I notice the process runs as user ‘nagios’.
I’m trying to understand where this is set on systemd.
I checked in these files:
find /etc/systemd /lib/systemd -name "*icinga*" /etc/systemd/system/icinga2.service.d /etc/systemd/system/multi-user.target.wants/icinga2.service /lib/systemd/system/icinga2.service
but none of them mentions nagios user.
Insted I can find this information in
cat /etc/init.d/icinga2 DAEMON_USER=nagios DAEMON_GROUP=nagios
Am I missing some systemd file?