Sha256: 13b69d8e1c233c8068e120a40d2eb7f4abe2f26189e6f2702bed384fed79ecd9

Contents?: true

Size: 624 Bytes

Versions: 93

Compression:

Stored size: 624 Bytes

Contents

#!/bin/sh
# PROVIDE: ar_sendmail
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD shutdown

#
# Add the following lines to /etc/rc.conf to enable ar_sendmail:
#
#ar_sendmail_enable="YES"

. /etc/rc.subr

name="ar_sendmail"
rcvar=`set_rcvar`

command="/usr/local/bin/ar_sendmail"
command_interpreter="/usr/local/bin/ruby18"

# set defaults

ar_sendmail_rails_env=${ar_sendmail_rails_env:-"production"}
ar_sendmail_chdir=${ar_sendmail_chdir:-"/"}
ar_sendmail_enable=${ar_sendmail_enable:-"NO"}
ar_sendmail_flags=${ar_sendmail_flags:-"-d"}

load_rc_config $name
export RAILS_ENV=$ar_sendmail_rails_env
run_rc_command "$1"

Version data entries

93 entries across 93 versions & 30 rubygems

Version Path
paulnicholson-ar_mailer-2.1.5 share/bsd/ar_sendmail
paulnicholson-ar_mailer-2.1.6 share/bsd/ar_sendmail
synewaves-ar_mailer-1.4.8 share/bsd/ar_sendmail
zendesk-ar_mailer-1.4.5 share/bsd/ar_sendmail
zendesk-ar_mailer-1.4.6 share/bsd/ar_sendmail
leftbrained-ar_mailer-2.1.13 share/bsd/ar_sendmail
leftbrained-ar_mailer-2.1.12 share/bsd/ar_sendmail
leftbrained-ar_mailer-2.1.11 share/bsd/ar_sendmail
adzap-ar_mailer-2.1.10 share/bsd/ar_sendmail
adzap-ar_mailer-2.1.9 share/bsd/ar_sendmail
prioritized_ar_mailer-2.1.11 share/bsd/ar_sendmail
gsoni-ar_mailer-2.1.11 share/bsd/ar_sendmail
gsoni-ar_mailer-2.1.10 share/bsd/ar_sendmail
gsoni-ar_mailer-2.1.9 share/bsd/ar_sendmail
leftbrained-ar_mailer-2.1.9 share/bsd/ar_sendmail
flipstone-ar_mailer-3.0.1 share/bsd/ar_sendmail
flipstone-ar_mailer-3.0.0 share/bsd/ar_sendmail
rzeszotko-ar_mailer-2.1.11 share/bsd/ar_sendmail
rzeszotko-ar_mailer-2.1.10 share/bsd/ar_sendmail
rzeszotko-ar_mailer-2.1.9 share/bsd/ar_sendmail