summaryrefslogtreecommitdiff
path: root/www-apps/nextcloud-notify_push/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/nextcloud-notify_push/files')
-rw-r--r--www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1 (renamed from www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service)2
-rw-r--r--www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service.conf4
2 files changed, 5 insertions, 1 deletions
diff --git a/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service b/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1
index 27fc4e827df0..804d3b5034f6 100644
--- a/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service
+++ b/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1
@@ -6,7 +6,7 @@ After=redis.service
[Service]
Type=simple
Environment=NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE=
-EnvironmentFile=-/etc/conf.d/nextcloud-notify_push
+EnvironmentFile=-/etc/systemd/system/nextcloud-notify_push.d/00gentoo.conf
ExecStart=/usr/bin/nextcloud-notify_push $NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE
Restart=on-failure
diff --git a/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service.conf b/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service.conf
new file mode 100644
index 000000000000..ef1bd1571ff7
--- /dev/null
+++ b/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service.conf
@@ -0,0 +1,4 @@
+# Nextcloud config file
+# Set this to the Nextcloud configuration file this
+# instance is used for.
+NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE="/path/to/your/nextcloud/config.php"