From ccfe8e1dcef245c90219c2a59b114fe4a7194034 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 12 Sep 2018 19:22:10 +0200 Subject: Remove thinrc script. No longer needed as we're using puma. --- config/deploy/templates/thinrc.erb | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 config/deploy/templates/thinrc.erb (limited to 'config/deploy') diff --git a/config/deploy/templates/thinrc.erb b/config/deploy/templates/thinrc.erb deleted file mode 100644 index 141170b..0000000 --- a/config/deploy/templates/thinrc.erb +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -# PROVIDE: <%= fetch(:application) %> -# REQUIRE: LOGIN -# BEFORE: nginx - -. /etc/rc.subr - -name=<%= fetch(:application) %> -rcvar=`set_rcvar` - -: ${<%= fetch(:application) %>_enable:="NO"} -: ${<%= fetch(:application) %>_root:="<%= fetch(:deploy_to) %>"} - -load_rc_config $name - -shared_dir="<%= fetch(:shared_dir) %>" -socket="$shared_dir/tmp/sockets/thin.sock" -pidfile="$shared_dir/tmp/pids/thin.pid" - -command="<%= fetch(:current_dir) %>/bin/thin" -command_args="start -S $socket -P $pidfile -d --prefix=/registration" -command_interpreter="ruby22" - -procname="thin" - -<%= fetch(:application) %>_chdir="$<%= fetch(:current_dir) %>" -<%= fetch(:application) %>_user="www" -<%= fetch(:application) %>_env="RACK_ENV=production PATH=$PATH:/usr/local/bin" - -run_rc_command "$1" -- cgit v1.2.3