examples/remote_syslog.init.d in remote_syslog-1.6.8 vs examples/remote_syslog.init.d in remote_syslog-1.6.9
- old
+ new
@@ -11,11 +11,11 @@
prog="remote_syslog"
config="/etc/log_files.yml"
pid_dir="/var/run"
-EXTRAOPTIONS=""
+EXTRAOPTIONS="--tls"
pid_file="$pid_dir/$prog.pid"
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH
@@ -27,10 +27,10 @@
start(){
echo -n $"Starting $prog: "
unset HOME MAIL USER USERNAME
- $prog -c $config -P $pid_dir "$EXTRAOPTIONS"
+ $prog -c $config --pid-file $pid_file "$EXTRAOPTIONS"
RETVAL=$?
echo
return $RETVAL
}