-
Notifications
You must be signed in to change notification settings - Fork 132
Updating to v0.20
Version 0.20 comes with the functionality of dropping privileges which it also enabled by default. For new installations this is very convenient as the database connection can be now run over a UNIX socket to PostgreSQL and thus authentication is simplified. For existing installations, which are already configured to use a TCP session for the database connection, the database configuration can remain as is.
The location of the PID file has changed and the configuration MUST be updated to reflect this. The new location is /var/run/nipap/nipapd.pid - simply change your nipap.conf to contain this path instead of the old one (/var/run/nipapd.pid). This change comes from the privilege dropping capability. As nipapd is now per default run as the user 'nipap' it no longer has write privs to /var/run and instead a new directory (/var/run/nipap) is created on installation which is owned by the nipap user. If you do not change your path the init script will not work correctly.
If you want to run nipapd as the nipap user, also add "user = nipap" to your nipap.conf.
If you want to connect over a UNIX socket to PostgreSQL set 'db_host = ""' in your nipap.conf.