[arch-commits] Commit in nextcloud-app-notify_push/trunk (2 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Fri Apr 29 17:56:28 UTC 2022
Date: Friday, April 29, 2022 @ 17:56:27
Author: alerque
Revision: 1191824
upgpkg: nextcloud-app-notify_push 0.4.0-1
Added:
nextcloud-app-notify_push/trunk/nextcloud-app-notify_push.install
nextcloud-app-notify_push/trunk/nextcloud-app-notify_push.service
-----------------------------------+
nextcloud-app-notify_push.install | 12 ++++++++++++
nextcloud-app-notify_push.service | 10 ++++++++++
2 files changed, 22 insertions(+)
Added: nextcloud-app-notify_push.install
===================================================================
--- nextcloud-app-notify_push.install (rev 0)
+++ nextcloud-app-notify_push.install 2022-04-29 17:56:27 UTC (rev 1191824)
@@ -0,0 +1,12 @@
+post_install() {
+ echo 'Remember to finish the setup for notify_push:'
+ echo ''
+ echo 'Enable and start the nextcloud-app-notify_push.service'
+ echo 'Setup your reverse proxy (see /usr/share/webapps/nextcloud/apps/notify_push/README.md)'
+ echo 'Run the setup with `occ notify_push:setup https://your.nextcloud.com/push`.'
+}
+
+post_upgrade() {
+ echo 'You may want to restart nextcloud-app-notify_push.service'
+ echo 'and re-check your setup with `occ notify_push:self-test`'
+}
Added: nextcloud-app-notify_push.service
===================================================================
--- nextcloud-app-notify_push.service (rev 0)
+++ nextcloud-app-notify_push.service 2022-04-29 17:56:27 UTC (rev 1191824)
@@ -0,0 +1,10 @@
+[Unit]
+Description = Push daemon for Nextcloud clients
+
+[Service]
+Environment = PORT=7867 BIND=127.0.0.1
+ExecStart = /usr/share/webapps/nextcloud/apps/notify_push/bin/@ARCH@/notify_push /etc/webapps/nextcloud/config/config.php
+User = nextcloud
+
+[Install]
+WantedBy = multi-user.target
More information about the arch-commits
mailing list