mirror of
https://github.com/YunoHost-Apps/motioneye_ynh.git
synced 2024-09-03 19:46:09 +02:00
run directory
This commit is contained in:
parent
a1850e0f49
commit
6377d8f806
2 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
conf_path /var/www/__APP__
|
||||
|
||||
# path to the directory where pid files go (must be writable by motionEye)
|
||||
run_path /run/motioneye
|
||||
run_path /var/www/__APP__/run
|
||||
|
||||
# path to the directory where log files go (must be writable by motionEye)
|
||||
log_path __DATA_DIR__/logs
|
||||
|
|
|
@ -64,6 +64,8 @@ popd
|
|||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/motioneye.conf" --destination="/var/www/$app/motioneye.conf"
|
||||
mkdir -p /var/www/$app/run
|
||||
chmod 644 /var/www/$app/run
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Add table
Reference in a new issue