Skip to content

Commit

Permalink
Merge pull request #38 from hoonetorg/develop
Browse files Browse the repository at this point in the history
fix service handling (should be compatible with most Linux distributi…
  • Loading branch information
deviantony committed May 17, 2016
2 parents 5eaeec1 + bcc807e commit 28a110e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtrabackup/command_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def exec_incremental_preparation(self, backup_directory,
self.exec_command(command)

def exec_manage_service(self, service_name, action):
command = ['/etc/init.d/' + service_name, action]
command = ['service', service_name, action]
self.exec_command(command)

def exec_chown(self, user, group, directory_path):
Expand Down

0 comments on commit 28a110e

Please sign in to comment.