diff options
Diffstat (limited to 'bin/ncp/CONFIG/nc-nextcloud.sh')
-rw-r--r-- | bin/ncp/CONFIG/nc-nextcloud.sh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/bin/ncp/CONFIG/nc-nextcloud.sh b/bin/ncp/CONFIG/nc-nextcloud.sh index 7bcaadb2..e131ac91 100644 --- a/bin/ncp/CONFIG/nc-nextcloud.sh +++ b/bin/ncp/CONFIG/nc-nextcloud.sh @@ -226,22 +226,7 @@ EOF arch="$(uname -m)" [[ "${arch}" =~ "armv7" ]] && arch="armv7" - cat > /etc/systemd/system/notify_push.service <<EOF -[Unit] -Description = Push daemon for Nextcloud clients -After=mysql.service -After=redis.service -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 -User=www-data - -[Install] -WantedBy = multi-user.target -EOF + install_template systemd/notify_push.service.sh /etc/systemd/system/notify_push.service [[ -f /.docker-image ]] || systemctl enable notify_push # some added security |