File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -592,6 +592,11 @@ if [ "$ID" == "debian" ] && [ "$VERSION_ID" == "12" ]; then
592592 distversion=r12
593593fi
594594
595+ if [ " $ID " == " debian" ] && [ " $VERSION_ID " == " 13" ]; then
596+ dist=' apt'
597+ distversion=r13
598+ fi
599+
595600if [ " $ID " == " raspbian" ] && [ " $VERSION_ID " == " 8" ]; then
596601 dist=' apt'
597602 distversion=r8
@@ -2360,6 +2365,9 @@ sudo -u webhpot python3 -m zipapp ./isc_agent
23602365sudo -u webhpot find ./isc_agent -mindepth 1 -type d -exec rm -rf {} +
23612366sudo_copy " ${progdir} " /../srv/web/web-honeypot.service /etc/systemd/system/web-honeypot.service 644
23622367cd " ${WEBHPOTDIR} " || exit
2368+ # disable old service in case it is still enabled
2369+ sudorun " systemctl disable isc-agent.service"
2370+ # enable new service
23632371sudorun " systemctl daemon-reload"
23642372sudorun " systemctl enable web-honeypot.service"
23652373
You can’t perform that action at this time.
0 commit comments