Skip to content

Instantly share code, notes, and snippets.

@rowandh
Created September 13, 2018 04:41
Show Gist options
  • Save rowandh/7491f5d499b8bd7b48fadcee2824fc96 to your computer and use it in GitHub Desktop.
Save rowandh/7491f5d499b8bd7b48fadcee2824fc96 to your computer and use it in GitHub Desktop.
Stratis node Ubuntu Linux service
sudo cp stratis.service /etc/systemd/system
sudo systemctl enable stratis.service
sudo systemctl start stratis.service
[Unit]
Description=Stratis node
[Service]
Type=simple
User=user
ExecStart=/usr/bin/dotnet run --project /home/user/StratisBitcoinFullNode/src/Stratis.StratisSmartContractsD -- -addnode=13.64.119.220 -addnode=20.190.57.145 -addnode=40.68.165.12 -agentprefix=.pw 2>&/home/user/stratis.service.log
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment