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
adamcooper-ar_mailer-2.0.2 share/bsd/ar_sendmail
adzap-ar_mailer-1.4.0 share/ar_sendmail
adzap-ar_mailer-1.4.1 share/ar_sendmail
adzap-ar_mailer-1.4.2 share/bsd/ar_sendmail
adzap-ar_mailer-1.4.3 share/bsd/ar_sendmail
adzap-ar_mailer-1.4.4 share/bsd/ar_sendmail
adzap-ar_mailer-2.0.0 share/bsd/ar_sendmail
adzap-ar_mailer-2.0.1 share/bsd/ar_sendmail
adzap-ar_mailer-2.0.2 share/bsd/ar_sendmail
adzap-ar_mailer-2.1.0 share/bsd/ar_sendmail
adzap-ar_mailer-2.1.1 share/bsd/ar_sendmail
adzap-ar_mailer-2.1.2 share/bsd/ar_sendmail
adzap-ar_mailer-2.1.3 share/bsd/ar_sendmail
adzap-ar_mailer-2.1.4 share/bsd/ar_sendmail
aussiegeek-ar_sendmail_delayed-1.3.2 share/ar_sendmail
brunoaalves-ar_mailer-2.0.0 share/bsd/ar_sendmail
brunoaalves-ar_mailer-2.0.1 share/bsd/ar_sendmail
cyu-ar_mailer-1.4.4 share/bsd/ar_sendmail
cyu-ar_mailer-1.4.5 share/bsd/ar_sendmail
cyu-ar_mailer-1.4.6 share/bsd/ar_sendmail