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
33f6a4e6
Unverified
Commit
33f6a4e6
authored
Oct 26, 2019
by
Erik Wilson
Committed by
GitHub
Oct 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #965 from erikwilson/systemd-service-cleanup
Cleanup systemd service file
parents
eb867ab6
36dc38f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
install.sh
install.sh
+8
-9
No files found.
install.sh
View file @
33f6a4e6
...
...
@@ -579,16 +579,14 @@ create_systemd_service_file() {
[Unit]
Description=Lightweight Kubernetes
Documentation=https://k3s.io
After=network-online.target
Wants=network-online.target
[Install]
WantedBy=multi-user.target
[Service]
Type=
${
SYSTEMD_TYPE
}
EnvironmentFile=
${
FILE_K3S_ENV
}
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=
${
BIN_DIR
}
/k3s \\
${
CMD_K3S_EXEC
}
KillMode=process
Delegate=yes
LimitNOFILE=infinity
...
...
@@ -598,9 +596,10 @@ TasksMax=infinity
TimeoutStartSec=0
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=
${
BIN_DIR
}
/k3s \\
${
CMD_K3S_EXEC
}
EOF
}
...
...
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