fix: consolidate under main branch, remove bones.yml, update README fleet map, fix service files to pull main
This commit is contained in:
9
shield-restart-iventoy.sh
Normal file
9
shield-restart-iventoy.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
export SUDO_ASKPASS=/tmp/askpass/askpass.sh
|
||||
sudo -A pkill -f "iventoy" || true
|
||||
sleep 2
|
||||
cd /opt/iventoy
|
||||
export LD_LIBRARY_PATH=/opt/iventoy/lib/lin64
|
||||
nohup ./lib/iventoy > /dev/null 2>&1 &
|
||||
sleep 3
|
||||
pgrep -f iventoy
|
||||
Reference in New Issue
Block a user