Patches: Browse | Submit New | Admin

[#29062] Add “sudo_command” configuration variable to rake-remote_task

Date:
2011-03-05 17:50
Priority:
3
Submitted By:
Kim Burgestrand (burgestrand)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Add “sudo_command” configuration variable to rake-remote_task

Detailed description
Feature request #28586 (start_web/stop_web to use sudo if required) brings up that there are two viable commands for
executing remote commands: run and sudo. Vlads’ own recipes for apache use “run”, as does vlad-nginx.

I propose a new command :sudo_command, or that :sudo_cmd and :sudo_flags are to be replaced/merged. This will allow
users to configure their web command option to use sudo without patching the source files:

> set :web_command, "#{sudo_command} /path/to/web/server"

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
0001-Add-sudo_command-configuration.patch Patch to add “sudo_command” Download

Changes:

Field Old Value Date By
File Added5238: 0001-Add-sudo_command-configuration.patch2011-03-05 17:50burgestrand