Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935776 - www-apps/nextcloud-notify_push-0.6.9 service not starting when using conf.d-variables instead of NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE
Summary: www-apps/nextcloud-notify_push-0.6.9 service not starting when using conf.d-v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-09 05:03 UTC by Fischl Anton
Modified: 2024-07-09 07:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fischl Anton 2024-07-09 05:03:14 UTC
on OpenRC:
Steps to reproduce:

- emerge www-apps/nextcloud-notify_push
- edit /etc/conf.d/nextcloud-notify_push
  - use "DATABASE_URL", "REDIS_URL", "NEXTCLOUD_URL", etc. instead of NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE
- /etc/init.d/nextcloud-notify_push start

Result: services crashes, stating missing parameters

Reason: the current init-file sets these parameters as environment variables, nextcloud-notify_push ignores does, expects them as command-line arguments


Fix is ready and tested, PR is on the way
Comment 1 Larry the Git Cow gentoo-dev 2024-07-09 07:34:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85f6922c5422951172fa7764954c21db7c224b6

commit f85f6922c5422951172fa7764954c21db7c224b6
Author:     Anton Fischl <github@fischl-online.de>
AuthorDate: 2024-07-09 07:20:26 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-07-09 07:34:29 +0000

    www-apps/nextcloud-notify_push: add 0.6.12
    
    fix OpenRC init script failure issue
    
    Closes: https://bugs.gentoo.org/935776
    Signed-off-by: Anton Fischl <github@fischl-online.de>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 www-apps/nextcloud-notify_push/Manifest            | 160 +++++++++
 .../files/nextcloud-notify_push-r2.init            | 135 +++++++
 .../nextcloud-notify_push-0.6.12.ebuild            | 398 +++++++++++++++++++++
 3 files changed, 693 insertions(+)