mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 06:19:14 +08:00
14 lines
250 B
Bash
14 lines
250 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
USE_PROCD=1
|
|
START=25
|
|
|
|
start_service() {
|
|
local nofile=$(cat /proc/sys/fs/nr_open)
|
|
|
|
procd_open_instance
|
|
procd_set_param command /usr/bin/dockerd
|
|
procd_set_param limits nofile="${nofile} ${nofile}"
|
|
procd_close_instance
|
|
}
|