Skip to content

Commit

Permalink
fix: add service dependency to yggdrasil.service
Browse files Browse the repository at this point in the history
Add a dependency to the yggdrasil.service to ensure that
rhc-canonical-facts.service is started before starting
yggdrasil.service.
  • Loading branch information
subpop committed Oct 15, 2024
1 parent 22aa0f1 commit 26fb5d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rhc-canonical-facts.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=rhc canonical-facts service
Documentation=https://github.com/RedHatInsights/rhc
After=yggdrasil.service

[Service]
Type=oneshot
Expand All @@ -10,3 +11,6 @@ ExecStart=rhc canonical-facts
StandardOutput=truncate:/var/lib/yggdrasil/canonical-facts.json
StandardError=journal
UMask=0027

[Install]
WantedBy=yggdrasil.service

0 comments on commit 26fb5d6

Please sign in to comment.