Systemd is able to handle various different service types specifically one of the following simple - A long-running process that does not background its self and stays attached to the shell. forking - A typical daemon that forks itself detaching it from the process that ran it, effectively backgrounding itself. NOTE: When using the feuerwehr-matzenbach.dee file, the creation of the aforementioned directories and the setting of their permissions is automatically handled by systemd. Directories are given a permission of , giving the bitcoin group access to files under it if the files themselves give permission to the bitcoin group to do so (e.g. when -sysperms is specified). Oct 12 chris-GEPL systemd: feuerwehr-matzenbach.dee: Service hold- off time over, scheduling restart. Oct 12 chris-GEPL systemd: Stopped Bitcoin's distributed currency daemon. Oct 12 chris-GEPL systemd: feuerwehr-matzenbach.dee: Start request repeated too quickly.
Systemd bitcoind serviceImprove bitcoind systemd service file by Flowdalic · Pull Request # · bitcoin/bitcoin · GitHub
Copy link. It seems weird to move the datadir without the user noticing? Contributor Author. But I'm happy to re-add -datadir if it's deemed necessary. This seems inactive, closing for now. After discussion on IRC I'm reopening this. View changes. Sign in to view. Flowdalic Aug 29, Author Contributor The idea was to let systemd handle bitcoind's log output. Flowdalic Aug 30, Author Contributor I see your rationale, but on the other hand there are also good reasons to let systemd handle the log output of bitcoind.
Please squash before merging. Flowdalic force-pushed the Flowdalic:systemd-service branch to 16be7dd Oct 2, Hide details View details laanwj merged commit 16be7dd into bitcoin : master Nov 9, 1 check passed. Merge : Improve bitcoind systemd service file …. This commit was signed with a verified signature. Tree-SHA fc11fd6e3faafaad9caad6bffdbcbf8cfcb5eea6be1c7cffba5ccdda41aa4. Flowdalic deleted the Flowdalic:systemd-service branch Nov 9, Update bitcoin.
Merge bitcoin : Improve bitcoind systemd service file …. Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment. Linked issues. Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch.
Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. I'm not convinced that this is a good idea.
Looks good to me, but please rebase and drop the first commit 6c8b98b. It's confusing to keep that commit when the change it makes is just reverted later by the third commit eeba. The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Only change since last review is removing ConfigurationDirectoryMode churn in early commits. Skip to content. New issue. Jump to bottom. Fix systemd service file configuration directory setup fanquake merged 4 commits into bitcoin : master from setpill : fix-systemd-service-perms Aug 29, Conversation 10 Commits 4 Checks 0 Files changed. Copy link Quote reply.
Copy link. Contributor Author. View changes. Improve clarity of systemd service file comments …. Chgrp config dir to bitcoin in systemd service …. Rather than making the config dir world-readable, which potentially leaks RPC credentials, the group of the directory is changed to the one the service is executed as. Set ProtectHome in systemd service file …. Further hardening; the service should be run with as many restrictions as possible without breaking it. Unrecommend making config file owned by bitcoin ….
The bitcoin user needs read access to the configuration file, but write access is not needed. Skip to content. New issue. Jump to bottom. Added systemd. Changes from all commits Commits. Show all changes. Filter file types. Filter viewed files. Hide viewed files. Clear filters. Jump to file. Failed to load files. Always Unified Split. Users This.