4ef330ba8b
Co-authored-by: Jakub Sztandera <kubuxu@protocol.ai>
20 lines
357 B
Desktop File
20 lines
357 B
Desktop File
[Unit]
|
|
Description=Lotus Daemon
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Environment=GOLOG_FILE="/var/log/lotus-daemon"
|
|
Environment=GOLOG_LOG_FMT="json"
|
|
ExecStart=/usr/local/bin/lotus daemon
|
|
Restart=always
|
|
RestartSec=30
|
|
|
|
MemoryAccounting=true
|
|
MemoryHigh=8G
|
|
MemoryMax=10G
|
|
LimitNOFILE=8192:10240
|
|
|
|
[Install]
|
|
WantedBy=multiuser.target
|