1 2 3 4
#!/bin/bash # This script starts rsyslogd as a service in init.d service rsyslog stop service rsyslog start