fix: sentry

This commit is contained in:
Andras Bacsai 2024-05-24 17:26:05 +02:00
parent 9b73bca79d
commit 26073b82fd
2 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,9 @@ public function type()
{
return 'service';
}
public function workdir() {
return service_configuration_dir() . "/{$this->service->uuid}";
}
public function serviceType()
{
$found = str(collect(SPECIFIC_SERVICES)->filter(function ($service) {

View File

@ -59,6 +59,9 @@ public function getServiceDatabaseUrl()
}
return "{$realIp}:{$port}";
}
public function workdir() {
return service_configuration_dir() . "/{$this->service->uuid}";
}
public function service()
{
return $this->belongsTo(Service::class);