Skip to content

Commit 5fa7c14

Browse files
committed
added latest debian trixie
1 parent 0fb48fb commit 5fa7c14

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,11 @@ if [ "$ID" == "debian" ] && [ "$VERSION_ID" == "12" ]; then
592592
distversion=r12
593593
fi
594594

595+
if [ "$ID" == "debian" ] && [ "$VERSION_ID" == "13" ]; then
596+
dist='apt'
597+
distversion=r13
598+
fi
599+
595600
if [ "$ID" == "raspbian" ] && [ "$VERSION_ID" == "8" ]; then
596601
dist='apt'
597602
distversion=r8
@@ -2360,6 +2365,9 @@ sudo -u webhpot python3 -m zipapp ./isc_agent
23602365
sudo -u webhpot find ./isc_agent -mindepth 1 -type d -exec rm -rf {} +
23612366
sudo_copy "${progdir}"/../srv/web/web-honeypot.service /etc/systemd/system/web-honeypot.service 644
23622367
cd "${WEBHPOTDIR}" || exit
2368+
# disable old service in case it is still enabled
2369+
sudorun "systemctl disable isc-agent.service"
2370+
# enable new service
23632371
sudorun "systemctl daemon-reload"
23642372
sudorun "systemctl enable web-honeypot.service"
23652373

0 commit comments

Comments
 (0)