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:
- Install Gladius with install.sh and start the daemons
- Run install again to simulate update
- 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