Added Debian packaging and package repository for basecoin and ethermint

This commit is contained in:
Greg Szabo
2017-06-17 08:26:56 +00:00
parent e3d43c8d45
commit c996b13dae
25 changed files with 565 additions and 97 deletions
@@ -69,12 +69,16 @@ EOF
%{__chown} %{name}.%{name} %{_sysconfdir}/%{name}/tendermint/genesis.json
systemctl daemon-reload
systemctl enable %{name}
if [ -d /etc/%{name}/tendermint/data ]; then
service %{name} start
fi
%preun
systemctl stop %{name} 2> /dev/null || :
systemctl stop %{name}-service 2> /dev/null || :
%postun
#userdel %{name}
systemctl daemon-reload
%files