host-agent 최신화

This commit is contained in:
2024-11-22 12:19:07 +09:00
parent 84f8d92448
commit bc915b2546
87 changed files with 39671 additions and 8846 deletions

View File

@@ -1,7 +0,0 @@
#!/bin/sh
PRODUCT_NAME=exemONE
MODULE_NAME=exem-host-agent
VERSION=1.2.2
echo ${PRODUCT_NAME} ${MODULE_NAME} ver ${VERSION}

View File

@@ -1,3 +0,0 @@
#!/bin/sh
service exem-host-agent start

View File

@@ -1,3 +0,0 @@
#!/bin/sh
service exem-host-agent stop

View File

@@ -1,25 +0,0 @@
#!/bin/sh
SYSTEMCTL=$(which systemctl 2> /dev/null)
SERVICE=$(which service 2> /dev/null)
CHKCONFIG=$(which chkconfig 2> /dev/null)
if [ -n "${SYSTEMCTL}" ]; then
systemctl stop exem-host-agent
systemctl disable exem-host-agent
systemctl daemon-reload
if [ -e "/etc/systemd/system/exem-host-agent.service" ]; then
rm -f /etc/systemd/system/exem-host-agent.service
systemctl daemon-reload
fi
if [ -e "/etc/systemd/system/default.target.wants/exem-host-agent.service" ]; then
rm -f /etc/systemd/system/default.target.wants/exem-host-agent.service
systemctl daemon-reload
fi
echo "exem-host-agent is disabled"
fi

View File

@@ -1,3 +0,0 @@
#!/bin/sh
sudo systemctl start exem-host-agent

File diff suppressed because one or more lines are too long