lotus/tools/packer/systemd/lotus-daemon.service
2021-02-24 11:16:41 -08:00

18 lines
328 B
Desktop File

[Unit]
Description=Lotus Daemon
After=network.target
[Service]
User=fc
Group=fc
ExecStartPre=/usr/local/bin/lotus-init.sh
ExecStart=/usr/local/bin/lotus daemon
ExecStop=/usr/local/bin/lotus daemon stop
Environment=LOTUS_PATH=/var/lib/lotus
Restart=always
RestartSec=30
TimeoutSec=infinity
[Install]
WantedBy=multi-user.target