mirror of
https://github.com/unraid/api.git
synced 2026-01-02 22:50:02 -06:00
fix: rclone username and password removed
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user