From 5a7ba510d6f59c29e4559d5dd31bdf4556527985 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 31 Mar 2024 21:16:22 -0400 Subject: [PATCH] Moved ubuntu resources into the package, fixing the build. --- fabfile.py | 4 ++-- {ubuntu => recapturedocs/ubuntu}/nginx config | 0 {ubuntu => recapturedocs/ubuntu}/recapturedocs.service | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {ubuntu => recapturedocs/ubuntu}/nginx config (100%) rename {ubuntu => recapturedocs/ubuntu}/recapturedocs.service (100%) diff --git a/fabfile.py b/fabfile.py index a1f663f..51dc0cc 100644 --- a/fabfile.py +++ b/fabfile.py @@ -77,7 +77,7 @@ def install_service(c): _install_service_recapturedocs(c) files.upload_template( c, - f"ubuntu/{project}.service", + f"recapturedocs/ubuntu/{project}.service", "/etc/systemd/system", context=globals(), ) @@ -109,7 +109,7 @@ def remove_all(c): @task(hosts=hosts) def configure_nginx(c): c.sudo('apt install -y nginx') - source = "ubuntu/nginx config" + source = "recapturedocs/ubuntu/nginx config" target = f"/etc/nginx/sites-available/{site}" files.upload_template(c, src=source, dest=target) c.sudo(f'ln -sf ../sites-available/{site} /etc/nginx/sites-enabled/') diff --git a/ubuntu/nginx config b/recapturedocs/ubuntu/nginx config similarity index 100% rename from ubuntu/nginx config rename to recapturedocs/ubuntu/nginx config diff --git a/ubuntu/recapturedocs.service b/recapturedocs/ubuntu/recapturedocs.service similarity index 100% rename from ubuntu/recapturedocs.service rename to recapturedocs/ubuntu/recapturedocs.service