k3s/k3s.service

20 lines
389 B
SYSTEMD
Raw Normal View History

2019-01-24 18:30:38 +00:00
[Unit]
Description=Lightweight Kubernetes
Documentation=https://k3s.io
After=network.target
[Service]
ExecStartPre=-/sbin/modprobe br_netfilter
2019-01-24 18:30:38 +00:00
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/k3s server
KillMode=process
Delegate=yes
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
TasksMax=infinity
TimeoutStartSec=infinity
2019-01-24 18:30:38 +00:00
[Install]
WantedBy=multi-user.target