[ic] sdbm (and maybe locale)
Peter
peter at pajamian.dhs.org
Sun Dec 1 23:58:09 UTC 2024
On 2/12/24 08:55, DB via interchange-users wrote:
> I was able to get the 5.12 interchange rpm installed. Files are in
> different locations compared to my old Centos7 installation. I assume my
> catalog would go into /etc/interchange?
Catalogs will go into /var/lib/interchange and server config goes into
/etc/interchange.
> Also is there documentation about using the systemd multi-instance
> support? It sounds interesting.
I should write some, but basically put you can put additional server
configs under /etc/interchange/multi/instancename then you can
start/stop them with systemctl start interchange at instancename, etc.
The static server files are in /usr/lib/interchange, you shouldn't need
to change those as any files you change would go in /etc/interchange.
The previously mentioned environment variable MINIVEND_STORABLE_DB can
be set in systemd by running `systemctl edit interchange` and putting
the following in:
[Service]
Environment="MINIVEND_STORABLE_DB=1"
You can also set additional Environment lines if you want or other
systemd settings such as Restart=on-failure
You need to do this separately for each instance.
One final note, it is not necessary to compile vlink separately for each
IC instance, but you do need to set an environment variable in your
apache (or nginx) config to point to the appropriate socket location for
any instance other than the main one, an example apache vhost config
snippet:
SetEnv MINIVEND_SOCKET /run/interchange-instancename/socket
ScriptAlias / /usr/lib/interchange/bin/vlink/
<Directory /usr/lib/interchange/bin>
<Files vlink>
Require all granted
</Files>
</Directory>
Also you will probably get selinux denials until you set a module to
allow the web server to access vlink, this can be done with audit2allow.
Peter
More information about the interchange-users
mailing list