- Timestamp:
- 10/20/08 10:50:06 (3 months ago)
- Location:
- trunk/client/ebox
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
src/EBox/Service.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/ebox/ChangeLog
r11517 r11518 1 1 0.12.100 2 + EBox::Module::writeConfFile escapes now file's path2 + EBox::Module::writeConfFile and EBox::Service scape fil'es path 3 3 0.12.99 4 4 + Add support for reporting -
trunk/client/ebox/src/EBox/Service.pm
r10308 r11518 42 42 43 43 if ( $action eq 'start' ) { 44 root("start $daemon");44 root("start '$daemon'"); 45 45 } 46 46 elsif ( $action eq 'stop' ) { 47 root("stop $daemon");47 root("stop '$daemon'"); 48 48 } 49 49 elsif ( $action eq 'restart') { 50 root("stop $daemon");51 root("start $daemon");50 root("stop '$daemon'"); 51 root("start '$daemon'"); 52 52 } 53 53 else { … … 75 75 throw EBox::Exceptions::Internal("No such daemon: $daemon"); 76 76 77 my $output = root("status $daemon");77 my $output = root("status '$daemon'"); 78 78 my $status = @{$output}[0]; 79 79 # TODO: Parse different exit status:
