1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/motioneye_ynh.git synced 2024-09-03 19:46:09 +02:00

logs in app dir (should change later)

This commit is contained in:
SolAZDev 2024-01-16 00:14:06 -04:00
parent 20eb7419a2
commit bd1c74561f
2 changed files with 4 additions and 1 deletions

View file

@ -5,7 +5,7 @@ conf_path /var/www/__APP__
run_path /var/www/__APP__/run
# path to the directory where log files go (must be writable by motionEye)
log_path __DATA_DIR__/logs
log_path /var/www/__APP__/logs
# default output path for media files (must be writable by motionEye)
media_path __DATA_DIR__/media

View file

@ -60,6 +60,9 @@ mkdir -p /var/www/$app/run
chown $app:$app /var/www/$app/run
chmod 664 /var/www/$app/run
mkdir -p /var/www/$app/logs
chown $app:$app /var/www/$app/logs
chmod 664 /var/www/$app/logs
#=================================================
# APP INITIAL CONFIGURATION
#=================================================