21 lines
416 B
Desktop File
21 lines
416 B
Desktop File
[Unit]
|
|
Description=Lotus Daemon
|
|
After=network-online.target
|
|
Requires=network-online.target
|
|
|
|
[Service]
|
|
Environment=GOLOG_FILE="/var/log/lotus/daemon.log"
|
|
Environment=GOLOG_LOG_FMT="json"
|
|
ExecStart=/usr/local/bin/lotus daemon
|
|
#ExecStop=/bin/sh -a -c /root/capture_lotus_heap.sh
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
MemoryAccounting=true
|
|
MemoryHigh=8G
|
|
MemoryMax=10G
|
|
LimitNOFILE=8192:10240
|
|
|
|
[Install]
|
|
WantedBy=multiuser.target
|