mirror of
https://github.com/mistergibson/radio.git
synced 2026-09-08 22:09:51 -07:00
bug fixes
This commit is contained in:
parent
4d9201bf24
commit
8fa42f2376
2 changed files with 42 additions and 35 deletions
|
|
@ -184,10 +184,10 @@ EOF
|
|||
systemctl daemon-reload
|
||||
echo "==> Installed ${UNIT_PATH}"
|
||||
# After the mkdir -p "$STORAGE/state" line, add:
|
||||
mkdir -p "$STORAGE/state"
|
||||
chown -R liquidsoap:liquidsoap "$STORAGE/state"
|
||||
chmod 755 "$STORAGE/state"
|
||||
chmod 664 "$STORAGE/state/"*.db 2>/dev/null || true
|
||||
mkdir -p "$STORAGE_ROOT/state"
|
||||
chown -R liquidsoap:liquidsoap "$STORAGE_ROOT/state"
|
||||
chmod 755 "$STORAGE_ROOT/state"
|
||||
chmod 664 "$STORAGE_ROOT/state/"*.db 2>/dev/null || true
|
||||
|
||||
# --- Cron entries (liquidsoap user's crontab already exists from package) -----
|
||||
CRON_FETCH="0 * * * * cd ${INSTALL_DIR} && ${INSTALL_DIR}/run_radio.sh fetch_podcasts.rb --fetch-all >> ${STORAGE_ROOT}/logs/fetch_cron.log 2>&1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue