lotus/scripts/chainwatch.service

16 lines
417 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Chainwatch
PartOf=sentinel.service
After=lotus-daemon.service
Requires=lotus-daemon.service
[Service]
Environment=GOLOG_FILE="/var/log/lotus/chainwatch.log"
Environment=GOLOG_LOG_FMT="json"
Environment=LOTUS_DB="postgres://postgres:password@localhost:5432/postgres?sslmode=disable"
Environment=LOTUS_PATH="/root/.lotus"
ExecStart=/usr/local/bin/chainwatch run
[Install]
WantedBy=multiuser.target