mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 21:28:53 +00:00
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.
This commit is contained in:
parent
f2c78f6a5b
commit
71693f06a1
@ -7,6 +7,8 @@ User=monero
|
|||||||
Group=monero
|
Group=monero
|
||||||
WorkingDirectory=~
|
WorkingDirectory=~
|
||||||
RuntimeDirectory=monero
|
RuntimeDirectory=monero
|
||||||
|
StateDirectory=monero
|
||||||
|
LogsDirectory=monero
|
||||||
|
|
||||||
# Clearnet config
|
# Clearnet config
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user