Skip to content

Commit 6eddfb9

Browse files
authored
Merge pull request #44 from ByteInternet/cron_configuration_application_first
platformconfig/cron: Set APPLICATION_FIRST as server role
2 parents 0caa36f + 043bb69 commit 6eddfb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/PlatformConfiguration/CronConfiguration.php

+2
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)