16 lines
200 B
Bash
Executable File
16 lines
200 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function clean_up {
|
|
service syncd stop
|
|
service rsyslog stop
|
|
exit
|
|
}
|
|
|
|
trap clean_up SIGTERM SIGKILL
|
|
|
|
rm -f /var/run/rsyslogd.pid
|
|
service rsyslog start
|
|
service syncd start
|
|
|
|
read
|