projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Projektstatus Controller
[kivitendo-erp.git]
/
SL
/
System
/
TaskServer.pm
diff --git
a/SL/System/TaskServer.pm
b/SL/System/TaskServer.pm
index
57d0ba8
..
f5b4122
100644
(file)
--- a/
SL/System/TaskServer.pm
+++ b/
SL/System/TaskServer.pm
@@
-43,6
+43,12
@@
sub start {
return $self->_run_script_command('start');
}
return $self->_run_script_command('start');
}
+sub start_if_not_running {
+ my ($self) = @_;
+
+ $self->start unless $self->is_running;
+}
+
sub stop {
my ($self) = @_;
sub stop {
my ($self) = @_;