inou/restart.sh

13 lines
273 B
Bash

#!/bin/bash
cd /tank/inou
echo "=== Inou Restart ==="
# Stop
pkill -x inou-viewer 2>/dev/null && echo "Viewer: stopped" || echo "Viewer: not running"
pkill -x inou-portal 2>/dev/null && echo "Portal: stopped" || echo "Portal: not running"
sleep 1
# Start
./start.sh