fix: ../spec
This commit is contained in:
@@ -111,7 +111,7 @@ echo "done"
|
||||
# 卸载时执行
|
||||
%postun
|
||||
UsrLocalBinDir=/usr/local/bin
|
||||
rm -f ${UsrLocalBinDir}/omcd
|
||||
OMCDaemon=omcd
|
||||
|
||||
if [ "$1" = "0" ] ; then
|
||||
sudo systemctl stop restagent.service
|
||||
@@ -128,6 +128,7 @@ if [ "$1" = "0" ] ; then
|
||||
firewall-cmd --zone=public --remove-port=${Port}/tcp --permanent
|
||||
done
|
||||
firewall-cmd --reload
|
||||
rm -f ${UsrLocalBinDir}/${OMCDaemon}
|
||||
else
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl stop restagent.service
|
||||
|
||||
Reference in New Issue
Block a user