Skip to content

Commit 043bb69

Browse files
committed
platformconfig/cron: Set APPLICATION_FIRST as server role
1 parent 0caa36f commit 043bb69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PlatformConfiguration/CronConfiguration.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Hypernode\DeployConfiguration\Configurable\ServerRoleConfigurableTrait;
77
use Hypernode\DeployConfiguration\Configurable\StageConfigurableInterface;
88
use Hypernode\DeployConfiguration\Configurable\StageConfigurableTrait;
9+
use Hypernode\DeployConfiguration\ServerRole;
910
use Hypernode\DeployConfiguration\TaskConfigurationInterface;
1011

1112
/**
@@ -43,6 +44,7 @@ class CronConfiguration implements
4344
public function __construct(string $sourceFile = 'etc/cron')
4445
{
4546
$this->sourceFile = $sourceFile;
47+
$this->setServerRoles([ServerRole::APPLICATION_FIRST]);
4648
}
4749

4850
public function getSourceFile(): string

0 commit comments

Comments
 (0)