k3s/k3s.service
Erik Wilson 1bc7042bd5 Fix systemd TimeoutStartSec
Set TimeoutStartSec to 0 instead of infinity for systemd versions older
than 229.
2019-04-17 11:27:03 -07:00

20 lines
382 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=0
[Install]
WantedBy=multi-user.target