Changeset 873


Ignore:
Timestamp:
05/16/13 17:26:00 (11 years ago)
Author:
olahaye
Message:

[rpm packaging:jobmonarch.spec.in] Added some messages (same as debian packages)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/pkg/rpm/jobmonarch.spec.in

    r870 r873  
    135135# $1 = 1 => install ($1 = 2 => upgrade)
    136136if [ "$1" = 1 ]; then
     137    # Enable the service
    137138    /sbin/chkconfig --add jobmond
     139    echo ""
     140    echo "Additional manual changes are required to setup jobmond:"
     141    echo ""
     142    echo "Edit /etc/jobmond.conf to reflect your local settings and setup:"
     143    echo "   - BATCH_API: pbs, slurm, sge (experimental), lsf (experimental)"
     144    echo ""
    138145elif [ "$1" = 2 ]; then
    139146    /sbin/service jobmond condrestart
     
    145152    # Enable the service
    146153    /sbin/chkconfig --add jobarchived
     154    echo ""
     155    echo "Additional manual changes are required to setup jobarchived:"
     156    echo ""
     157    echo "1) Edit /etc/jobarchived.conf to reflect your local settings and setup:"
     158    echo "   - ARCHIVE_DATASOURCES and ARCHIVE_PATH"
     159    echo ""
     160    echo "2) Create a 'jobarchive' database and create jobarchived's tables:"
     161    echo "   - createdb jobarchive"
     162    echo "   - psql -f /usr/share/jobarchived/job_dbase.sql jobarchive"
     163    echo "   - Update /var/lib/pgsql/data/pg_hba.conf by adding the following lines:"
     164    echo "     local   jobarchive      jobarchive                              trust"
     165    echo "     host    jobarchive      jobarchive      127.0.0.1/32            trust"
     166    echo "     host    jobarchive      jobarchive      ::1/128                 trust"
     167    echo "   - Restart the postgresql service"
     168    echo ""
    147169elif [ "$1" = 2 ]; then
    148170    echo "Restarting jobarchived if needed..."
Note: See TracChangeset for help on using the changeset viewer.