Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

close connections properly #14

Open
wants to merge 15 commits into
base: google-bigquery
Choose a base branch
from
13 changes: 13 additions & 0 deletions exampleService.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=Transaction ETL

[Service]
Environment=GOOGLE_APPLICATION_CREDENTIALS=/home/myuser/secret.json NODE=wss://s1.ripple.com:51233 LEDGER=75443456
ExecStart=/usr/bin/node /path/to/this/repo/index.js
TimeoutStopSec=60
KillSignal=SIGTERM
RestartSec=4320
Restart=on-failure

[Install]
WantedBy=multi-user.target
Loading