gladiusio / gladius-node

All services to run a Gladius Node
GNU General Public License v3.0
36 stars 11 forks source link

LINUX install.sh does not install cleanly on top of existing version #99

Open jarno-niemela opened 6 years ago

jarno-niemela commented 6 years ago

Describe the bug If I run install.sh in order to upgrade to new version I get following errors.

cp: cannot create regular file '/usr/local/bin/gladius-controld': Text file busy cp: cannot create regular file '/usr/local/bin/gladius-networkd': Text file busy

To Reproduce Steps to reproduce the behavior:

  1. Install Gladius with install.sh and start the daemons
  2. Run install again to simulate update
  3. See error messages

Expected behavior Installer kills existing daemons, runs install and restarts daemons

Fix suggestion

As simple as adding following to start of the install script:

killall gladius-networkd killall gladius-controld

broken-trigger commented 5 years ago

plus