Refactored files going into rpm package

This commit is contained in:
Greg Szabo
2017-06-14 00:49:46 +00:00
parent aa3ec15dc4
commit e14cbf3cca
13 changed files with 205 additions and 259 deletions

View File

@ -0,0 +1,23 @@
[Unit]
Description=Ethermint server
Requires=network-online.target
BindTo=ethermint.service
PartOf=ethermint.service
After=network-online.target ethermint.service
PropagatesReloadTo=ethermint.service
ReloadPropagatedFrom=ethermint.service
[Service]
Environment="TMHOME=/etc/ethermint/tendermint"
Restart=on-failure
User=ethermint
Group=ethermint
PermissionsStartOnly=true
ExecStart=/usr/bin/tendermint node
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM
[Install]
WantedBy=multi-user.target ethermint.service
Also=ethermint.service