Commit d3ecbee8 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

When ELVIN_COMPAT is on, make sure that turn on the elvin_gateway by

renaming the startup file in /usr/local/etc/rc.d (which of course
needs to be there, and will be, cause someone will turn pubsub into a
package that we can pkg_add).
parent c823433d
......@@ -46,6 +46,7 @@ my $LOGDIR = "$PREFIX/log";
my $ETCDIR = "$PREFIX/etc";
my $LIBDIR = "$PREFIX/lib";
# Fixed paths for clients
......@@ -946,6 +947,16 @@ Phase "rc.d", "Setting up rc.d scripts", sub {
PhaseFail("Unable to remove $RCDIR/mysql-server: $!");
Phase "elvin-gateway", "Installing elvin gateway startup file", sub {
PhaseFail("Pubsub system or elvin_gateway is not installed")
if (! -e "$RCDIR/3.elvin_gateway");
ExecQuietFatal("mv $RCDIR/3.elvin_gateway ".
" $RCDIR/");
Phase "rc.testbed", "Installing testbed RC scripts", sub {
Phase "", "Removing port version of", sub {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment