This commit is contained in:
2025-01-13 18:58:51 +01:00
parent 59e135063a
commit e030c20ce6
3 changed files with 5 additions and 5 deletions

View File

@@ -2,13 +2,13 @@
```
# Setta la variabile "PWD_SC" in testa allo script o lasciala con "PWD" per provarla in locale
nano update_link.sh
nano make_index.sh
# Avvia lo script manualmente
./update_link.sh
./make_index.sh
# o mettilo in cron
0 0 * * * /path/to/update_link.sh
0 0 * * * /path/to/make_index.sh
```
##### 1.1 Se vuoi pubblicarla sul web, mettila dietro un reverseproxy e dai i permessi alla cartella contenente lo script:
```
@@ -18,7 +18,7 @@ sudo chown -R www-data:www-data <path_to_streamingcommunity_directory> ; sudo ch
<br>
#### 2. Se vuoi semplicemente sapere qual'è il link giusto aggiornato esegui "script_link.sh" (richiede "attuale.txt"):
#### 2. Se vuoi semplicemente sapere qual'è il link giusto aggiornato esegui "show_link.sh" (richiede "attuale.txt"):
```
./script_link.sh
./show_link.sh
```