Clear forgotten lock files

This commit is contained in:
dave 2014-12-13 20:58:00 -08:00
parent 07a3a59158
commit 37a78d2efc
2 changed files with 4 additions and 0 deletions

3
init.sh Normal file → Executable file
View File

@ -23,6 +23,9 @@ fi
rdadmin --check-db
# Apache is trouble
/etc/init.d/apache2 restart
sleep 5
# Start gui apps

1
start
View File

@ -3,6 +3,7 @@
# Clear any stranded lock files
rm -rf /tmp/.X*
rm -f /home/rduser/.rdairplaylock
rm -f /run/rivendell/*
# start vnc
su -c "vncserver -geometry 1280x800 :0" rduser