2021-02-16 07:12:37 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Lotus Daemon
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=fc
|
|
|
|
Group=fc
|
2021-02-17 15:05:30 +00:00
|
|
|
ExecStartPre=/usr/local/bin/lotus-init.sh
|
2021-02-16 07:12:37 +00:00
|
|
|
ExecStart=/usr/local/bin/lotus daemon
|
2021-02-17 16:15:00 +00:00
|
|
|
ExecStop=/usr/local/bin/lotus daemon stop
|
2021-02-16 07:12:37 +00:00
|
|
|
Environment=LOTUS_PATH=/var/lib/lotus
|
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
2021-02-17 16:15:00 +00:00
|
|
|
TimeoutSec=infinity
|
2021-02-16 07:12:37 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|