cammiechat/restart.sh
2019-10-08 01:36:24 +02:00

14 lines
221 B
Bash
Executable file

#!/bin/bash
killall gunicorn
./run.sh & disown
sleep 1
DISPLAY=:0 xdotool key F5
sleep 5
DISPLAY=:0 xdotool key F5
sleep 10
DISPLAY=:0 xdotool key F5
sleep 10
DISPLAY=:0 xdotool key F5
sleep 10
DISPLAY=:0 xdotool key F5