Skip to content

Commit

Permalink
Attempt to restart the service 3 times
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeallenx committed Jan 17, 2022
1 parent 9234541 commit 6c1f537
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deb/blockchain-etl.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=Blockchain ETL application
After=network.target
StartLimitInterval=60
StartLimitBurst=3

[Service]
Type=simple
Expand All @@ -14,6 +16,8 @@ Environment=ERL_CRASH_DUMP="/var/data/log/blockchain_etl"
LimitNOFILE=200000
LimitNPROC=200000
Restart=always
RestartSec=15


[Install]
WantedBy=multi-user.target

0 comments on commit 6c1f537

Please sign in to comment.