← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/autopkgtest-cloud:fix-install-section-web-systemd-units into autopkgtest-cloud:master

 

Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:fix-install-section-web-systemd-units into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/460675
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:fix-install-section-web-systemd-units into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/units/cache-amqp.service b/charms/focal/autopkgtest-web/units/cache-amqp.service
index d7aa53d..4ba15f0 100644
--- a/charms/focal/autopkgtest-web/units/cache-amqp.service
+++ b/charms/focal/autopkgtest-web/units/cache-amqp.service
@@ -6,3 +6,6 @@ Type=oneshot
 User=ubuntu
 StateDirectory=cache-amqp
 ExecStart=/home/ubuntu/webcontrol/cache-amqp
+
+[Install]
+WantedBy=autopkgtest-web.target
diff --git a/charms/focal/autopkgtest-web/units/delete-old-github-requests.service b/charms/focal/autopkgtest-web/units/delete-old-github-requests.service
index e4bec05..5ec856b 100644
--- a/charms/focal/autopkgtest-web/units/delete-old-github-requests.service
+++ b/charms/focal/autopkgtest-web/units/delete-old-github-requests.service
@@ -5,3 +5,6 @@ Description=Delete github requests older than 1 day
 Type=oneshot
 User=ubuntu
 ExecStart=/home/ubuntu/webcontrol/delete-old-github-requests
+
+[Install]
+WantedBy=autopkgtest-web.target
diff --git a/charms/focal/autopkgtest-web/units/indexed-packages.service b/charms/focal/autopkgtest-web/units/indexed-packages.service
index e518740..3b1b904 100644
--- a/charms/focal/autopkgtest-web/units/indexed-packages.service
+++ b/charms/focal/autopkgtest-web/units/indexed-packages.service
@@ -4,3 +4,6 @@ Description=Get index of packages
 [Service]
 Type=oneshot
 ExecStart=/home/ubuntu/webcontrol/indexed-packages
+
+[Install]
+WantedBy=autopkgtest-web.target
diff --git a/charms/focal/autopkgtest-web/units/publish-db.service b/charms/focal/autopkgtest-web/units/publish-db.service
index 1c9c282..873e439 100644
--- a/charms/focal/autopkgtest-web/units/publish-db.service
+++ b/charms/focal/autopkgtest-web/units/publish-db.service
@@ -5,3 +5,6 @@ Description=publish autopkgtest.db
 Type=oneshot
 ExecStart=/home/ubuntu/webcontrol/publish-db
 TimeoutSec=300
+
+[Install]
+WantedBy=autopkgtest-web.target
diff --git a/charms/focal/autopkgtest-web/units/update-github-jobs.service b/charms/focal/autopkgtest-web/units/update-github-jobs.service
index 687ea73..641d427 100644
--- a/charms/focal/autopkgtest-web/units/update-github-jobs.service
+++ b/charms/focal/autopkgtest-web/units/update-github-jobs.service
@@ -8,3 +8,6 @@ Group=www-data
 TimeoutStartSec=10m
 EnvironmentFile=/home/ubuntu/public-swift-creds
 ExecStart=/home/ubuntu/webcontrol/update-github-jobs
+
+[Install]
+WantedBy=autopkgtest-web.target

Follow ups