Comment 21 for bug 771372

Revision history for this message
Simon Déziel (sdeziel) wrote :

@James, you suggestion worked. Note that I dropped the "env UPSTART_EVENTS=". Here is the job definition I used.

# grep -v "#" /etc/init/procps.conf

description "set sysctls from /etc/sysctl.conf"

instance $UPSTART_EVENTS
start on virtual-filesystems or stopped networking

task
script
    cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sysctl -p -
end script

By the way, that also fixes LP: #690433. Thank you !