Skip to content

Commit

Permalink
Moderniza infraestructura
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Jan 17, 2024
1 parent b4be3e4 commit 8cfbda6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/corre
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ FileUtils.chdir RAIZ_AP do
exit 1
end
puts "\n== Ejecutando en modo producción =="
ord = "doas sh /etc/rc.d/#{ENV['RC']} -d start"
ord = "doas rcctl -d start #{ENV['RC']}"
end
system!(ord)

Expand Down
2 changes: 1 addition & 1 deletion bin/detiene
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (test "$RAILS_ENV" = "production") then {
exit 1;
} fi;

doas sh /etc/rc.d/$RC -d stop
doas rcctl -d stop $RC
} elif (test "$RAILS_ENV" = "development") then {
# Intentando detener rails
if (test -f tmp/pids/server.pid) then {
Expand Down

0 comments on commit 8cfbda6

Please sign in to comment.