forked from axiom-team/astrXbian
www2mediakey EXCHANGE ZONEs ~/astroport/www/{audio video site} - recorded with youtube-dl sendto plugin
This commit is contained in:
parent
8ac274bc96
commit
fb25761233
|
@ -110,6 +110,9 @@ mkdir -p ~/astroport/anime
|
|||
## PREPARE www EXCHANGE ZONE ~/astroport/www
|
||||
wwwuser=$(ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1) || wwuser="www-data"
|
||||
mkdir -p ~/astroport/www
|
||||
mkdir -p ~/astroport/www/audio
|
||||
mkdir -p ~/astroport/www/video
|
||||
mkdir -p ~/astroport/www/site
|
||||
sudo chown -R $USER:$wwwuser ~/astroport/www
|
||||
sudo chmod -R g+rw ~/astroport/www
|
||||
|
||||
|
|
Loading…
Reference in New Issue