source: trunk/pkg/deb/jobarchived/DEBIAN/postinst @ 394

Last change on this file since 394 was 378, checked in by bastiaans, 17 years ago

pkg, Makefile:

  • added sources and Makefile for creating releases/tarball/debs/rpms
  • Property svn:executable set to *
File size: 673 bytes
Line 
1#!/bin/sh
2
3PATH=/bin:/sbin:/usr/bin:/usr/sbin
4
5if [ -x /etc/init.d/jobarchived ] && [ -x /usr/sbin/jobarchived ]
6        then
7
8                if [ -d /usr/sara ]
9                        then
10                                update-rc.d -f jobarchived start 99 3 . stop 99 0 1 2 6 .
11                        else
12                                update-rc.d -f jobarchived defaults
13                fi
14
15fi
16
17echo ""
18echo "Additional manual changes are required to setup jobarchived:"
19echo ""
20echo "1) Edit /etc/jobarchived.conf to reflect your local settings and setup:"
21echo "   - ARCHIVE_DATASOURCES and ARCHIVE_PATH"
22echo ""
23echo "2) Create a 'jobarchive' database and create jobarchived's tables:" 
24echo "   - createdb jobarchive"
25echo "   - psql -f /usr/share/jobarchived/job_dbase.sql jobarchive"
26echo ""
Note: See TracBrowser for help on using the repository browser.