lotus/scripts/chainwatch.service
2020-06-04 08:09:01 -04:00

16 lines
417 B
Desktop File

[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