2019-10-09 03:16:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Lotus Daemon
|
2020-05-28 20:12:46 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2019-10-09 03:16:35 +00:00
|
|
|
|
|
|
|
[Service]
|
2019-10-17 00:47:25 +00:00
|
|
|
Environment=GOLOG_FILE="/var/log/lotus-daemon"
|
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
|
|
|
|
RestartSec=30
|
|
|
|
|
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]
|
2019-10-10 23:59:10 +00:00
|
|
|
WantedBy=multiuser.target
|