add logic
This commit is contained in:
@@ -23,7 +23,7 @@ class ServiceApplication extends BaseModel
|
||||
|
||||
public function restart()
|
||||
{
|
||||
$container_id = $this->name.'-'.$this->service->uuid;
|
||||
$container_id = $this->name . '-' . $this->service->uuid;
|
||||
instant_remote_process(["docker restart {$container_id}"], $this->service->server);
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ class ServiceApplication extends BaseModel
|
||||
|
||||
public function workdir()
|
||||
{
|
||||
return service_configuration_dir()."/{$this->service->uuid}";
|
||||
return service_configuration_dir() . "/{$this->service->uuid}";
|
||||
}
|
||||
|
||||
public function serviceType()
|
||||
|
||||
Reference in New Issue
Block a user