remove symlinks before update

set timeout for videoextraction
only insert db entries if not already available
This commit is contained in:
2020-10-04 01:00:52 +02:00
parent 3021126e86
commit d799cdd610
3 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,10 @@
#!/bin/bash
# enable nginx site
rm /etc/nginx/sites-enabled/OpenMediaCenter.conf
ln -s /etc/nginx/sites-available/OpenMediaCenter.conf /etc/nginx/sites-enabled/OpenMediaCenter.conf
# link general socket to current one
rm /var/run/php-fpm.sock
ln -s /var/run/php/php*-fpm.sock /var/run/php-fpm.sock
# setup database