File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed
Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build :
13- runs-on : ubuntu-latest
13+ runs-on : ubuntu-24.04
1414 timeout-minutes : 60
15- container :
16- image : debian:trixie
1715 steps :
1816 - uses : actions/checkout@v4
1917 - name : Set up Python 3.11
Original file line number Diff line number Diff line change @@ -436,8 +436,6 @@ case "${1:-''}" in
436436 ;;
437437 ' update-influxdb-2' )
438438 printf " \n#### Ensuring compatible version of influxdb 2.x is installed ####\n"
439- apt install -y systemd
440-
441439 if [[ ${UNAME_TYPE} == ' x86_64' || ${MACHINE_TYPE} == ' arm64' ]]; then
442440 INSTALL_ADDRESS=" https://dl.influxdata.com/influxdb/releases/"
443441 AMD64_INSTALL_FILE=" influxdb2_2.7.8-1_amd64.deb"
@@ -476,11 +474,7 @@ case "${1:-''}" in
476474 dpkg -i " ${INSTALL_FILE} "
477475 rm -rf " ${INSTALL_FILE} "
478476
479- if pidof systemd > /dev/null; then
480- systemctl restart influxd
481- else
482- printf " Systemd not running. Skipping service management for influxd.\n"
483- fi
477+ systemctl restart influxd
484478 else
485479 printf " Correct version of InfluxDB currently installed (v${CORRECT_VERSION_INSTALL} ).\n"
486480 fi
@@ -498,11 +492,7 @@ case "${1:-''}" in
498492 dpkg -i " ${CLIENT_FILE} "
499493 rm -rf " ${CLIENT_FILE} "
500494
501- if pidof systemd > /dev/null; then
502- systemctl restart influxd
503- else
504- printf " Systemd not running. Skipping service management for influxd.\n"
505- fi
495+ systemctl restart influxd
506496 else
507497 printf " Correct version of InfluxDB-Client currently installed (v${CORRECT_VERSION_CLI} ).\n"
508498 fi
You can’t perform that action at this time.
0 commit comments