Class: Snapback::MySQL::ServiceControl

Inherits:
Object
  • Object
show all
Defined in:
lib/snapback/mysql/service_control.rb

Class Method Summary collapse

Class Method Details

.startObject



5
6
7
# File 'lib/snapback/mysql/service_control.rb', line 5

def self.start
  `service mysql start`
end

.stopObject



9
10
11
# File 'lib/snapback/mysql/service_control.rb', line 9

def self.stop
  `service mysql stop`
end