Fix invalid settings in dogecoind.service

Fix https://github.com/dogecoin/dogecoin/issues/3065
This commit is contained in:
Dylan Ferris 2022-07-21 20:02:27 -04:00 committed by GitHub
parent 3a29ba6d49
commit 3a37138fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,8 @@
[Unit]
Description=Dogecoin's distributed currency daemon
After=network.target
StartLimitIntervalSec=120
StartLimitBurst=5
[Service]
Type=simple
@ -19,15 +21,13 @@ Restart=always
RestartSec=5
TimeoutStopSec=60
TimeoutStartSec=5
StartLimitIntervalSec=120
StartLimitBurst=5
User=dogecoin
Group=dogecoin
### Restrict resource consumption
MemoryAccounting=yes
MemoryLimit=3g
MemoryLimit=3G
### Restrict access to host file system.
#