```shell
#!/usr/bin/env sh
cd /mystic
rm -f /mystic/semaphore/mis.bsy
rm -f /mystic/nohup.out
./mis daemon
while true
do
sleep 5
done
```
Hi dreamchipper,
your little script is no bad, but try this: This Script will check, if the daemon ist running. If not, it will start again. Like a simple self-healing mechanism ;) (tested with Linux Mint 22)
------------------------snipp
#!/usr/bin/env sh
cd /home/neo67/mystic #change for your settings
rm -f ./semaphore/mis.bsy
rm -f ./mystic/nohup.out
while true
do
# Check, if daemon is running:
if ! pgrep -f "mis daemon" > /dev/null; then
echo "MIS daemon not found, start..."
./mis daemon
sleep 2 # Short wait after new start
fi
sleep 5
done
--------------------------- snapp
have fun!
neo67
--- Mystic BBS v1.12 A48 (Windows/64)
* Origin: -= The News BBS | bbs.dosnetz.de:3232 =- (21:2/136)