freebsd-ports/mail/phplist/files/phplist.in
Beech Rintoul 07d2f49625 - New port phplist-2.10.4
Phplist is an email announcement delivery system. It is great for
newsletters, publicity lists, notifications, and many other uses.

Phplist has many features, including:

    * double opt-in subscription mechanism
    * scheduling
    * RSS
    * list segmentation
    * click-tracking
    * attachments
    * bounce management

PR:		ports/115799
Submitted by:	Nick Hilliard <nick@foobar.org> (maintainer)
Approved by:	sat (mentor)
2007-09-24 21:38:43 +00:00

18 lines
738 B
Bash

#!/bin/sh
# script to run PHPlist from commandline. You may need to edit this to make it work
# with your shell environment. The following should work for Bash on Fedora Linux
# but this may vary strongly in other situations. You will need to dig into the
# code to make sure it works for you.
# in commandline mode, access is restricted to users who are listed in the config file
# check README.commandline for more info
# identify the config file for your installation
CONFIG=%%WWWDIR%%/lists/config/config.php
export CONFIG
# alternatively you can use -c <path to config file> on the commandline
# run the PHPlist index file with all parameters passed to this script
exec %%LOCALBASE%%/bin/php %%WWWDIR%%/lists/admin/index.php $*