nucypher/deploy/services/eth_netstats.j2

14 lines
247 B
Django/Jinja

[Unit]
Description="Ethereum Netstats Service"
[Service]
User=ubuntu
Type=simple
WorkingDirectory=/home/ubuntu/code
Environment=PORT={{ port }}
Environment=WS_SECRET={{ secret }}
ExecStart=/usr/bin/npm start
[Install]
WantedBy=multi-user.target