fix: rclone username and password removed

This commit is contained in:
Eli Bosley
2025-05-23 10:58:44 -04:00
parent 3ffde0272c
commit 744f34fc7b

View File

@@ -102,19 +102,7 @@ export class RCloneApiService implements OnModuleInit, OnModuleDestroy {
// Start the process but don't wait for it to finish
this.rcloneProcess = execa(
'rclone',
[
'rcd',
'--rc-addr',
socketPath,
'--log-level',
'INFO',
'--rc-user',
this.rcloneUsername,
'--rc-pass',
this.rclonePassword,
'--log-file',
logFilePath,
],
['rcd', '--rc-addr', socketPath, '--log-level', 'INFO', '--log-file', logFilePath],
{ detached: false } // Keep attached to manage lifecycle
);