lotus/tools/packer/systemd/lotus-daemon.service

16 lines
266 B
SYSTEMD
Raw Normal View History

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
Environment=LOTUS_PATH=/var/lib/lotus
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target