Last active
August 16, 2017 19:11
-
-
Save christopherdro/12079034a55307ff90883803ad02af42 to your computer and use it in GitHub Desktop.
Example of systemd services for geth and swarm
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=Ethereum go client | |
[Service] | |
Type=simple | |
ExecStart=/home/ubuntu/go/bin/geth --testnet --fast --datadir /home/ubuntu/myDataDir --keystore /home/ubuntu/myDataDir/keystore --rpc --shh | |
Restart=always | |
RestartSec=10 | |
[Install] | |
WantedBy=default.target |
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
[Service] | |
Type=simple | |
ExecStart=/home/ubuntu/go/bin/swarm --bzzaccount 8f664c203d98f964410728db393020bf9599e9e6 --datadir /home/ubuntu/myDataDir --password /home/ubuntu/myDataDir/keystore-pw --keystore /home/ubuntu/myDataDir/keystore --ens-api /home/ubuntu/myDataDir/geth.ipc | |
Restart=always | |
RestartSec=10 | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment