From 1f97627ce05b28dfe097365f1d955f32d34fa57e Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Tue, 12 Dec 2023 12:18:05 -0600 Subject: [PATCH] Bugs.... --- newSrv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newSrv.sh b/newSrv.sh index 3aa8aea..dca3a36 100644 --- a/newSrv.sh +++ b/newSrv.sh @@ -210,7 +210,7 @@ sed -i "s|-Lsd|-LS6d|" /lib/systemd/system/snmpd.service cp snmpd.conf /etc/snmp/snmpd.conf systemctl daemon-reload && systemctl restart snmpd && /etc/init.d/snmpd restart -/etc/init.d/rsyslog stop && /etc/init.d/rsyslog start && logger "hi hi from $(hostname)" +systemctl stop rsyslog && systemctl start rsyslog && logger "hi hi from $(hostname)" systemctl restart ntp systemctl restart postfix