Class: BradyW::IIS
Overview
A task for starting/stopping IIS. The task will not fail if the service cannot be stopped successfully to avoid failing the build if IIS is already running.
Instance Attribute Summary collapse
-
#command ⇒ Object
Required Command to execute, should be either :start or :stop.
-
#service ⇒ Object
writeonly
Optional Service to bounce, by default W3SVC will be bounced.
Attributes inherited from BaseTask
Instance Attribute Details
#command ⇒ Object
Required Command to execute, should be either :start or :stop
10 11 12 |
# File 'lib/iis.rb', line 10 def command @command end |
#service=(value) ⇒ Object
Optional Service to bounce, by default W3SVC will be bounced.
13 14 15 |
# File 'lib/iis.rb', line 13 def service=(value) @service = value end |