2020-05-28 20:48:06 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Chainwatch
|
2020-06-04 12:09:01 +00:00
|
|
|
PartOf=sentinel.service
|
2020-05-28 20:48:06 +00:00
|
|
|
After=lotus-daemon.service
|
|
|
|
Requires=lotus-daemon.service
|
|
|
|
|
|
|
|
[Service]
|
2020-06-04 12:09:01 +00:00
|
|
|
Environment=GOLOG_FILE="/var/log/lotus/chainwatch.log"
|
|
|
|
Environment=GOLOG_LOG_FMT="json"
|
2020-05-28 20:48:06 +00:00
|
|
|
Environment=LOTUS_DB="postgres://postgres:password@localhost:5432/postgres?sslmode=disable"
|
|
|
|
Environment=LOTUS_PATH="/root/.lotus"
|
2020-06-04 12:09:01 +00:00
|
|
|
ExecStart=/usr/local/bin/chainwatch run
|
2020-05-28 20:48:06 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multiuser.target
|