mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
Add user_dir to ssl command
This commit is contained in:
parent
34d7d12229
commit
06b70f765d
@ -5,7 +5,12 @@ defmodule Plausible.Workers.ProvisionSslCertificates do
|
||||
|
||||
@impl Oban.Worker
|
||||
def perform(_args, _job, ssh \\ SSHEx) do
|
||||
{:ok, conn} = ssh.connect(ip: to_charlist(@custom_domain_server[:ip]), user: to_charlist(@custom_domain_server[:user]))
|
||||
IO.inspect(@custom_domain_server)
|
||||
{:ok, conn} = ssh.connect(
|
||||
ip: to_charlist(@custom_domain_server[:ip]),
|
||||
user: to_charlist(@custom_domain_server[:user]),
|
||||
user_dir: '/root/.ssh'
|
||||
)
|
||||
|
||||
recent_custom_domains = Repo.all(
|
||||
from cd in Plausible.Site.CustomDomain,
|
||||
|
Loading…
Reference in New Issue
Block a user