how to use Aria2c RPC server as a daemon?

Viewed 2766

I wish to run the Aria2c RPC server as a daemon so I can schedule download jobs from my own client using the RPC interface. But I want it to run as a daemon at the same time.

1 Answers

If you need an aria2c instance quickly, run the following command:

aria2c --enable-rpc --rpc-listen-all

This command asks aria2c to enable RPC mode (i.e. act as a daemon) and listen to all incoming traffic, which is not ideal for a public-facing server.

You may need to add additional options like --rpc-user and --rpc-passwd (together), or --rpc-secret to run an aria2c more securely.

Related