add chainwatch systemd svc config; make install-chainwatch-service

This commit is contained in:
Mike Greenberg
2020-05-28 16:53:00 -04:00
parent 4acf0c7ec0
commit 21415a9847
2 changed files with 20 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=Chainwatch
After=lotus-daemon.service
Requires=lotus-daemon.service
[Service]
ExecStart=/usr/local/bin/chainwatch run
Environment=LOTUS_DB="postgres://postgres:password@localhost:5432/postgres?sslmode=disable"
Environment=LOTUS_PATH="/root/.lotus"
[Install]
WantedBy=multiuser.target