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
649678bd
Commit
649678bd
authored
Aug 12, 2024
by
Brad Davidson
Committed by
Brad Davidson
Aug 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix k3s-killall.sh support for custom data dir
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
38df7670
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
install.sh
install.sh
+1
-1
install.sh.sha256sum
install.sh.sha256sum
+1
-1
No files found.
install.sh
View file @
649678bd
...
...
@@ -831,7 +831,7 @@ remove_interfaces() {
}
getshims() {
ps -e -o pid= -o args= | sed -e 's/^ *//; s/\s\s*/\t/;' | grep -w
'k3s
/data/[^/]*/bin/containerd-shim' | cut -f1
ps -e -o pid= -o args= | sed -e 's/^ *//; s/\s\s*/\t/;' | grep -w
"
${
K3S_DATA_DIR
}
"'
/data/[^/]*/bin/containerd-shim' | cut -f1
}
killtree
$(
{
set
+x
;
}
2>/dev/null
;
getshims
;
set
-x
)
...
...
install.sh.sha256sum
View file @
649678bd
68ae766b4c4fd2c8032f712cdd346c8f9d1ae60eaeb4736a1155effda44ea23d
install.sh
f60c3d8940dfc896f7d83aaf57726c91cf21afc4bca40036472df108d9700b4b
install.sh
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