mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
f7e0017fed
Cert generation may cause slow startup times for some systems such as the Raspberry Pi, set the systemd service TimeoutStartSec to Infinity to avoid startup timeouts.
20 lines
389 B
Desktop File
20 lines
389 B
Desktop File
[Unit]
|
|
Description=Lightweight Kubernetes
|
|
Documentation=https://k3s.io
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStartPre=-/sbin/modprobe br_netfilter
|
|
ExecStartPre=-/sbin/modprobe overlay
|
|
ExecStart=/usr/local/bin/k3s server
|
|
KillMode=process
|
|
Delegate=yes
|
|
LimitNOFILE=infinity
|
|
LimitNPROC=infinity
|
|
LimitCORE=infinity
|
|
TasksMax=infinity
|
|
TimeoutStartSec=infinity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|