2019-10-09 03:16:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Lotus Daemon
|
2020-05-28 20:12:46 +00:00
|
|
|
After=network-online.target
|
2020-06-04 12:09:01 +00:00
|
|
|
Requires=network-online.target
|
2019-10-09 03:16:35 +00:00
|
|
|
|
|
|
|
[Service]
|
2020-06-04 12:09:01 +00:00
|
|
|
Environment=GOLOG_FILE="/var/log/lotus/daemon.log"
|
2019-10-10 23:59:10 +00:00
|
|
|
Environment=GOLOG_LOG_FMT="json"
|
2020-05-28 20:12:46 +00:00
|
|
|
ExecStart=/usr/local/bin/lotus daemon
|
|
|
|
Restart=always
|
2020-06-04 12:09:01 +00:00
|
|
|
RestartSec=10
|
2020-05-28 20:12:46 +00:00
|
|
|
|
2020-05-27 21:12:45 +00:00
|
|
|
MemoryAccounting=true
|
|
|
|
MemoryHigh=8G
|
|
|
|
MemoryMax=10G
|
|
|
|
LimitNOFILE=8192:10240
|
2019-10-09 03:16:35 +00:00
|
|
|
|
|
|
|
[Install]
|
2020-07-30 00:19:40 +00:00
|
|
|
WantedBy=multi-user.target
|