17 lines
363 B
Plaintext
17 lines
363 B
Plaintext
# procps - set sysctls from /etc/sysctl.conf
|
|
#
|
|
# This task sets kernel sysctl variables from /etc/sysctl.conf and
|
|
# /etc/sysctl.d
|
|
|
|
description "set sysctls from /etc/sysctl.conf"
|
|
|
|
instance $UPSTART_EVENTS
|
|
env UPSTART_EVENTS=
|
|
|
|
start on virtual-filesystems or static-network-up
|
|
|
|
task
|
|
script
|
|
cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sysctl -e -p -
|
|
end script
|