This repository has been archived on 2024-08-06. You can view files and clone it, but cannot push or open issues or pull requests.
dlnextcloud/wrapper.sh

13 lines
302 B
Bash
Raw Normal View History

2023-07-15 16:47:32 +02:00
#! /bin/bash
sed -i "s|NC_PASSWORD|$NC_PASSWORD|g" .config/rclone/rclone.conf
sed -i "s|NC_MUSIC_DIR_URL|$NC_MUSIC_DIR_URL|g" .config/rclone/rclone.conf
sed -i "s|NC_USERNAME|$NC_USERNAME|g" .config/rclone/rclone.conf
rygel &
rclone mount --vfs-cache-mode full audio: /root/audio &
wait -n
exit $?