refactor: Remove unused code in DatabaseBackupStatusJob and PopulateSshKeysDirectorySeeder

This commit is contained in:
Andras Bacsai
2024-09-24 11:57:13 +02:00
parent eb80a7e2f7
commit 62459f9a95
2 changed files with 2 additions and 64 deletions

View File

@@ -29,8 +29,8 @@ class PopulateSshKeysDirectorySeeder extends Seeder
Process::run("chown -R $user ".storage_path('app/ssh/keys'));
Process::run("chown -R $user ".storage_path('app/ssh/mux'));
} else {
Process::run('chown -R 9999:9999 '.storage_path('app/ssh/keys'));
Process::run('chown -R 9999:9999 '.storage_path('app/ssh/mux'));
Process::run('chown -R 9999:root '.storage_path('app/ssh/keys'));
Process::run('chown -R 9999:root '.storage_path('app/ssh/mux'));
}
} catch (\Throwable $e) {
echo "Error: {$e->getMessage()}\n";