aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/serialization.cpp
diff options
context:
space:
mode:
authorAge Bosma <age.bosma@protonmail.com>2020-05-06 13:00:59 +0200
committerAge Bosma <age.bosma@protonmail.com>2020-05-06 14:57:47 +0200
commit71693f06a144dd823e5b0b1b5af5a97372f9b4eb (patch)
tree8f8c74768d0eca5bd8e02fe8f63540a4326ca839 /tests/unit_tests/serialization.cpp
parentf2c78f6a5b6db831ff35296d33446ea57d8ae6f9 (diff)
downloadmonzero-core-71693f06a144dd823e5b0b1b5af5a97372f9b4eb.tar.gz
monzero-core-71693f06a144dd823e5b0b1b5af5a97372f9b4eb.tar.xz
monzero-core-71693f06a144dd823e5b0b1b5af5a97372f9b4eb.zip
systemd: Make sure required folders exist
The default monero.conf file depends on the existence of the folders `/var/log/monero/` and `/var/lib/monero/`. This change makes sure systemd will create them, together with the proper permissions, if they don't exist. `StateDirectory` can be considered an extra safety in case the user `monero` happens to have been created with specifying `/var/lib/monero/` as a home folder but without actually creating it.
Diffstat (limited to 'tests/unit_tests/serialization.cpp')
0 files changed, 0 insertions, 0 deletions