From 59e00e6dd666efb92cee3862825ba4220619f3d0 Mon Sep 17 00:00:00 2001 From: frederik Date: Sat, 23 Nov 2024 10:01:30 +0100 Subject: [PATCH] cleanup: we dont need this anymore --- scripts/backup_data.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/backup_data.sh b/scripts/backup_data.sh index df216ef..4e37cdf 100755 --- a/scripts/backup_data.sh +++ b/scripts/backup_data.sh @@ -37,9 +37,6 @@ fi MEG=1048576 -PHP_SERVICE=$(systemctl list-unit-files -t service --output json --no-pager php*-fpm.service | jq --raw-output '.[0].unit_file') -[ -z "$PHP_SERVICE" ] || [ "$PHP_SERVICE" == 'null' ] && echo "Could not determine the php service name, this is most likely a bug." && exit 1 - log() { [ -z "$QUIET" ] && echo "$1" }