2014-03-01 18:34:13 +00:00
|
|
|
#!/usr/bin/env watchman
|
|
|
|
|
2015-03-05 10:10:58 +00:00
|
|
|
for i in /etc/sysctl.conf /etc/sysctl.d/* /usr/lib/sysctl.d/*; do
|
2015-03-05 09:43:37 +00:00
|
|
|
[[ -f "$i" ]] && {
|
|
|
|
sysctl_config_files+=( "$i" )
|
2014-03-01 18:34:13 +00:00
|
|
|
}
|
|
|
|
done
|
|
|
|
|
|
|
|
service_type='oneshot'
|
2015-06-18 09:38:49 +00:00
|
|
|
service_command='/usr/bin/sysctl'
|
2014-08-02 18:21:42 +00:00
|
|
|
service_args="-p ${sysctl_config_files[@]}"
|
2014-07-03 07:05:52 +00:00
|
|
|
|
|
|
|
unset restart reload
|