Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
3af26183
Commit
3af26183
authored
Apr 26, 2019
by
Erik Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix systemd install not starting
parent
41520d73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
install.sh
install.sh
+2
-0
No files found.
install.sh
View file @
3af26183
...
@@ -485,6 +485,7 @@ EOF
...
@@ -485,6 +485,7 @@ EOF
create_service_file
()
{
create_service_file
()
{
[
"
${
HAS_SYSTEMD
}
"
=
"true"
]
&&
create_systemd_service_file
[
"
${
HAS_SYSTEMD
}
"
=
"true"
]
&&
create_systemd_service_file
[
"
${
HAS_OPENRC
}
"
=
"true"
]
&&
create_openrc_service_file
[
"
${
HAS_OPENRC
}
"
=
"true"
]
&&
create_openrc_service_file
return
0
}
}
# --- get hashes of the current k3s bin and service files
# --- get hashes of the current k3s bin and service files
...
@@ -530,6 +531,7 @@ service_enable_and_start() {
...
@@ -530,6 +531,7 @@ service_enable_and_start() {
[
"
${
HAS_SYSTEMD
}
"
=
"true"
]
&&
systemd_start
[
"
${
HAS_SYSTEMD
}
"
=
"true"
]
&&
systemd_start
[
"
${
HAS_OPENRC
}
"
=
"true"
]
&&
openrc_start
[
"
${
HAS_OPENRC
}
"
=
"true"
]
&&
openrc_start
return
0
}
}
# --- run the install process --
# --- run the install process --
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment