Skip to content

Conversation

@tormath1
Copy link
Contributor

@tormath1 tormath1 commented Apr 17, 2023

systemd-sysext will perform a daemon-reload for each merge / unmerge / refresh action.


Related to: flatcar/Flatcar#984

⚠️ this needs a systemd upgrade to bring the reload mechanism from the extension

Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/systemctl daemon-reload
ExecStart=/usr/bin/systemctl restart --no-block sockets.target timers.target multi-user.target
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most things are also converted to use Upholds=, I think we should also drop this line here (and call it out in the changelog).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we drop this line too we can actually drop this unit.

@pothos
Copy link
Member

pothos commented Apr 18, 2024

I think we can use this now

systemd-sysext will perform a daemon-reload for each merge / unmerge /
refresh action.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1
Copy link
Contributor Author

I think we can use this now

Oh yes - 1y later! Rebased and kicked off a CI, let's see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants