aboutsummaryrefslogtreecommitdiff
path: root/contrib/init/bitcoind.service
AgeCommit message (Collapse)Author
2019-08-20Set ProtectHome in systemd service filesetpill
Further hardening; the service should be run with as many restrictions as possible without breaking it.
2019-08-20Chgrp config dir to bitcoin in systemd servicesetpill
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.
2019-08-20Improve clarity of systemd service file commentssetpill
The phrasing seemed to indicate that the options specified in ExecStart= could not be specified in the config file, necessitating their inclusion in the service file. However, the options in the config file simply get overridden by any specified in ExecStart=.
2019-01-05init: Use systemd automatic directory creationCarl Dong
Tell systemd to create, set, and ensure the right mode for the PID, configuration, and data directories. Only the exec bit is set for groups for the aforementioned directories. This is the least privilege perm that allows for the reading/writing/execing of files under the directory _if_ the files themselves give permission to its group to do so (e.g. when -sysperms is specified). Note that this does not allow for the listing of files under the directory.
2018-03-14Apply hardening measurements in bitcoind systemd service fileFlorian Schmaus
Adds typical systemd hardening measurements for network services.
2017-06-05Improve bitcoind systemd service fileFlorian Schmaus
Add comment how further options can be added or existing ones modified. Use /run/${RuntimeDirectory} for PID file. Remove TimeoutStopSec, TimeoutStartSec, StartLimitInterval, StartLimitBurst directives as those should be set indivdually. Remove Group to user the bitcoin user's default group. Changed Restart from 'always' to 'on-failure' (can also be overwritten individually).
2014-09-09Add init scripts and docs for Upstart and OpenRCAdam Weiss