[Unit]
Description={{ app_name }} Systemd Service 

[Service]
EnvironmentFile=/etc/default/{{ app_name }}
ExecStart={{ app_path }} --validator --name $NAME --key $KEY --node-key $NODE_KEY --in-peers 100 --out-peers 50 -laura=debug,afg=debug,sync=trace,state-db=debug,gossip=debug --listen-addr /ip4/0.0.0.0/tcp/30333 --listen-addr /ip4/0.0.0.0/tcp/30334/ws
Restart=always
User=parity
Group=parity
StandardOutput=file:/var/log/{{ app_name }}/{{ app_name }}.log
StandardError=file:/var/log/{{ app_name }}/{{ app_name }}.log

[Install]
WantedBy=multi-user.target
