forked from Spark/ssm-services
14 lines
272 B
Plaintext
Executable File
14 lines
272 B
Plaintext
Executable File
#!/usr/bin/env watchman
|
|
|
|
for i in /etc/sysctl.conf /etc/sysctl.d/* /usr/lib/sysctl.d/*; do
|
|
[[ -f "$i" ]] && {
|
|
sysctl_config_files+=( "$i" )
|
|
}
|
|
done
|
|
|
|
service_type='oneshot'
|
|
service_command='/sbin/sysctl'
|
|
service_args="-p ${sysctl_config_files[@]}"
|
|
|
|
unset restart reload
|