init: systemd directory fix #16590

pull emilengler wants to merge 1 commits into bitcoin:master from emilengler:2019-08-systemd-fix changing 1 files +1 −1
  1. emilengler commented at 7:35 PM on August 12, 2019: contributor

    When you install Bitcoin Core over the makefile it is being installed to /usr/local/bin/ and not /usr/bin/. When you use the systemd file out of the box it will causes an error because /usr/bin/bitcoind was not found. This patch fixes it.

  2. init: systemd directory fix e480215a1f
  3. fanquake added the label Scripts and tools on Aug 12, 2019
  4. jonasschnelli commented at 8:07 AM on August 13, 2019: contributor

    utACK e480215a1f5ba0de5e939f95f376ae03fb22c178

  5. fanquake requested review from dongcarl on Aug 14, 2019
  6. fanquake commented at 8:48 AM on August 14, 2019: member

    Concept ACK. I don't use this, so requested review from @dongcarl.

  7. laanwj commented at 12:08 PM on August 14, 2019: member

    ~0

    This completely depends on what the install prefix on ./configure is set to.

    If you want to get really pedantic about this, you could make a contrib/init/bitcoind.service.in that the autobuild system replaces the @prefix@ in to make the eventual service file.

  8. emilengler commented at 6:03 PM on August 14, 2019: contributor

    @laanwj Good idea but what is with the other init systems? Also I think all the scripts we provide should work out of the box

  9. dongcarl commented at 6:13 PM on August 14, 2019: member

    @emilengler I believe the same treatment should be applied to all init systems. The /usr/local default for PREFIX comes from autoconf: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Default-Prefix.html

  10. emilengler commented at 3:36 PM on August 15, 2019: contributor

    @dongcarl Ok, will do another pull request with more autoconf. This will be closed in favor of the future one

  11. emilengler closed this on Aug 15, 2019

  12. emilengler deleted the branch on Aug 15, 2019
  13. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me