launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #30648
[Merge] ~ines-almeida/txpkgupload:charm-restart-service-when-config-changes into txpkgupload:master
Ines Almeida has proposed merging ~ines-almeida/txpkgupload:charm-restart-service-when-config-changes into txpkgupload:master.
Commit message:
Update charm so that txpkgupload service restarts when config changes
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~ines-almeida/txpkgupload/+git/txpkgupload/+merge/454601
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~ines-almeida/txpkgupload:charm-restart-service-when-config-changes into txpkgupload:master.
diff --git a/charm/txpkgupload/reactive/txpkgupload.py b/charm/txpkgupload/reactive/txpkgupload.py
index ac91c83..7a0d03a 100644
--- a/charm/txpkgupload/reactive/txpkgupload.py
+++ b/charm/txpkgupload/reactive/txpkgupload.py
@@ -127,6 +127,7 @@ def get_config():
{
"/lib/systemd/system/txpkgupload.service": ["txpkgupload.service"],
"/lib/systemd/system/txpkgupload.socket": ["txpkgupload.socket"],
+ "/srv/txpkgupload/etc/txpkgupload.yaml": ["txpkgupload.service"],
}
)
def configure_txpkgupload(config: Dict):