Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-1.30] Use the correct template when installing as a SystemV service #5053

Merged
merged 7 commits into from
Sep 30, 2024

Conversation

k0s-bot
Copy link

@k0s-bot k0s-bot commented Sep 30, 2024

Automated backport to release-1.30, triggered by a label in #5044.
See #4962.

There are no references to this function.

Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit ecab42f)
Since k0s does not run on mac, there's no need for launchd service
installer.

Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit 2227665)
The file was empty except for the copyright header and package name.

Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit 96db2f6)
Unlike openrc, upstart and system v unit file templates, the systemd
template was defined in pkg/install/service.go. Here it is extracted
into a dedicated file like the other templates.

Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit edaa054)
The customized system V service template was not being used, as the
template was put into "SystemdScript" option. The correct option name
seems to be "SysVScript".

Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit 36b7bc2)
The openrc unit file template had the "name=" definition twice. I assume
it is the last one that was effective.

Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit 2a7e7ae)
There are no references to this function. The linter catches is as
unused.

Signed-off-by: Kimmo Lehto <[email protected]>
(cherry picked from commit 416c9ff)
@jnummelin jnummelin merged commit 0fb1b47 into release-1.30 Sep 30, 2024
79 checks passed
@jnummelin jnummelin deleted the backport-5044-to-release-1.30 branch September 30, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants