Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-08-26 12:58:02 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-08-26 13:29:21 +0300
commitc619589a22e160b25ae237289b7e791f8cee5ed1 (patch)
tree253cf9151835a3a7c613cd14560a43346a472426 /bin/ncp-update-nc
parentc41d38aa2afb717bb93cd97a0b54a647c3eaeae1 (diff)
nc-init.sh, ncp-update-nc, library.sh: Fix invalid architecture name in notify_push binary path
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
Diffstat (limited to 'bin/ncp-update-nc')
-rwxr-xr-xbin/ncp-update-nc4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ncp-update-nc b/bin/ncp-update-nc
index 7754175c..1ea8ef9d 100755
--- a/bin/ncp-update-nc
+++ b/bin/ncp-update-nc
@@ -194,8 +194,6 @@ else
apachectl -k graceful
## make sure the notify_push daemon is runnnig
- arch="$(dpkg --print-architecture)"
- [[ "${arch}" =~ ^(armhf|arm)$ ]] && arch="armv7"
cat > /etc/systemd/system/notify_push.service <<EOF
[Unit]
Description = Push daemon for Nextcloud clients
@@ -206,7 +204,7 @@ Requires=redis.service
[Service]
Environment=PORT=7867
Environment=NEXTCLOUD_URL=https://localhost
-ExecStart=/var/www/nextcloud/apps/notify_push/bin/"${arch}"/notify_push --allow-self-signed /var/www/nextcloud/config/config.php
+ExecStart="/var/www/nextcloud/apps/notify_push/bin/${ARCH}/notify_push" --allow-self-signed /var/www/nextcloud/config/config.php
User=www-data
[Install]