Configure the proxy authentication for systemd based systems

Prev Next

Navigate to the respective directory and configure the environment variable and its value.

  1. Navigate to the directory and open the file.

    /lib/systemd/system/mfetpd.service

  2. In Service section, add an entry.

    <environment variable>=<user's proxy settings>

    For example: http_proxy="http://username:usernamepassword@sampleproxy.url:5678"

  3. Reload the mfetpd service.

    systemctl daemon-reload