slackbuilds

My Slackbuilds
git clone git://git.server.ky/slackcoder/slackbuilds
Log | Files | Refs | README

README (1095B)


      1 The merchant for the Taler's pseudo bank.
      2 
      3 Installing this package automatically creates the libeufin user and group.
      4 
      5 The libeufin bank requires a postgres database to be configured.  The setup
      6 described here assumes postgres was installed with using 'Peer authentication'
      7 by default (omitting '-A md5' when running 'initdb' after postgres
      8 installation).
      9 
     10 ```
     11 # Create the database and its user.
     12 sudo -u postgres -- createuser libeufin-bank
     13 sudo -u postgres -- createdb libeufin-bank --owner libeufin-bank
     14 
     15 # Initialize the database, must be done after each upgrade
     16 sudo -u libeufin-bank -- libeufin-bank-dbinit -c /etc/libeufin/libeufin-bank.conf
     17 
     18 # The admin password should be set after installation.
     19 libeufin-bank passwd -c /etc/libeufin/libeufin-bank.conf admin $PASSWORD
     20 ```
     21 
     22 
     23 To have the system start and stop with your host, add to /etc/rc.d/rc.local:
     24 
     25   if [ -x /etc/rc.d/rc.libeufin-bank ]; then
     26     /etc/rc.d/rc.libeufin-bank start
     27   fi
     28 
     29 And to /etc/rc.d/rc.local_shutdown (creating if needed):
     30 
     31   if [ -x /etc/rc.d/rc.libeufin-bank ]; then
     32     /etc/rc.d/rc.libeufin-bank stop
     33   fi
     34