Created
August 15, 2018 13:09
-
-
Save veox/31f1ccec97d624634411dde11a2ffa10 to your computer and use it in GitHub Desktop.
ethereum trinity systemd service file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=trinity ethereum node | |
After=network.target | |
[Service] | |
Type=simple | |
WorkingDirectory=/home/veox/src/py-evm | |
ExecStartPre=/home/veox/src/py-evm/.virtualenv/py-evm/bin/python /home/veox/src/py-evm/.virtualenv/py-evm/bin/trinity --network-id=3 fix-unclean-shutdown | |
ExecStart=/home/veox/src/py-evm/.virtualenv/py-evm/bin/python /home/veox/src/py-evm/.virtualenv/py-evm/bin/trinity --network-id=3 --sync-mode=full --log-level=info | |
TimeoutStopSec=30 | |
Restart=on-failure | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment