mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
7c3c6ef71f
bad1716c6d30fdf4be6d5050a04e1211f920bbd6 init: Modify docs and add release note for 12255 (Carl Dong) b0c7b54d0c2e116d61e686b1adfdea6a1f7f02fe init: Use systemd automatic directory creation (Carl Dong) Pull request description: - `-datadir` option specified. - Ask systemd to create and set the right mode for PID directory, configuration directory, and data directory. - Tell systemd our group so it will set the right owner for aforementioned directories. More information: https://www.freedesktop.org/software/systemd/man/systemd.exec.html Tree-SHA512: a6fad1efa2be433c1fdd863df3ff232736ed709a9e281f51a003b40987d8c213dc64a52bc13a19c85bf85680e78f0be112ecaf32ac274b1ff93bac84a1208845
18 lines
876 B
Markdown
18 lines
876 B
Markdown
systemd init file
|
|
=========
|
|
|
|
The systemd init file (`contrib/init/dashd.service`) has been changed to use
|
|
`/var/lib/dashd` as the data directory instead of `~dash/.dash`. This
|
|
change makes Dash Core more consistent with other services, and makes the
|
|
systemd init config more consistent with existing Upstart and OpenRC configs.
|
|
|
|
The configuration, PID, and data directories are now completely managed by
|
|
systemd, which will take care of their creation, permissions, etc. See
|
|
[`systemd.exec (5)`](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=)
|
|
for more details.
|
|
|
|
When using the provided init files under `contrib/init`, overriding the
|
|
`datadir` option in `/etc/dash/dash.conf` will have no effect. This is
|
|
because the command line arguments specified in the init files take precedence
|
|
over the options specified in `/etc/dash/dash.conf`.
|