File: INSTALL

package info (click to toggle)
email-reminder 0.7.8-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 744 kB
  • ctags: 154
  • sloc: perl: 2,302; xml: 112; sh: 75; makefile: 11
file content (33 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Installation
------------

Here is the preferred way of installing Email-Reminder:

1- Run "perl Makefile.pl" to generate the Makefile.

2- Run "make install" as root to install all program files.

3- Set up a cron job so that the "collect-reminders" and "send-reminders"
   scripts are run everyday.  Under Debian, this is done by putting the
   following shell script under /etc/cron.daily/:

   #!/bin/sh
   COLLECT_SCRIPT=/usr/sbin/collect-reminders
   SEND_SCRIPT=/usr/bin/send-reminders

   if [ -x "$COLLECT_SCRIPT" -a -x "$SEND_SCRIPT" ]; then
       $COLLECT_SCRIPT
       su - email-reminder -c $SEND_SCRIPT
   fi

4- Add an "email-reminder" user account (usually done with the "adduser" or 
   "useradd" commands).

5- Create the spool directory for that user only:

   mkdir /var/spool/email-reminder
   chown email-reminder:email-reminder /var/spool/email-reminder
   chmod 750 /var/spool/email-reminder

6- Should you wish to add a menu entry for Email-Reminder Editor, use
   the email-reminder-editor.desktop file.