mirror of
https://github.com/rancher/os.git
synced 2025-07-15 15:51:36 +00:00
23 lines
582 B
SYSTEMD
23 lines
582 B
SYSTEMD
|
[Unit]
|
||
|
Description=Rancher Bootstrap
|
||
|
Documentation=https://github.com/rancher/rancherd
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
EnvironmentFile=-/etc/default/%N
|
||
|
EnvironmentFile=-/etc/sysconfig/%N
|
||
|
KillMode=process
|
||
|
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
||
|
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||
|
LimitNOFILE=1048576
|
||
|
LimitNPROC=infinity
|
||
|
LimitCORE=infinity
|
||
|
TasksMax=infinity
|
||
|
TimeoutStartSec=0
|
||
|
ExecStart=/usr/bin/rancherd bootstrap
|