1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/motioneye_ynh.git synced 2024-09-03 19:46:09 +02:00
motioneye_ynh/conf/motioneye.conf
Carlos Orama c3dcb5dcbc
Installation Tests (#11)
* fixed config destination typo

* $final_path not bound, attepting "__APP__"

* test: hard Coded directory

* changed install and data dir references

* I thought I had replaced etc/ with /etc

* added python3-venv to dependencies

* moved asset to install

* undo source removal

* debug: list all files in install dir

* use local downloaded dev.tar.gz

* update source reference to specific commit + no extract

* updated manifest for fixes and info + systemd correct directory

* Auto-update README

* Update manifest.toml (Fixed CPE)

Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>

* Version to date ver

Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>

* Auto-update README

* install: changed permissions

* 660->664

* install: 664->666 chown commented

* chown+777 (this does not feel right)

* following motionEye's base (664 + motion:motion)

* Auto-update README

* moved permissions

* add motion to dependencies

* permission tests continue

* 777 again

* retry

* reordered folder making

* Linter (#12) by ericgaspar

* linter

* Auto-update README

* Update LICENSE

* Update manifest.toml

* Auto-update README

* Update manifest.toml

* cleaning

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

* Auto-update README

* v0.43.1b1 download test

* fixed miss-quote

* Auto-update README

* Update manifest.toml

* clean up?

* __APP__ -> $app

* venv, ip fix and ram fix

* run directory

* test install dir run

* logs in app dir (should change later)

* force-create directories (shouldn't these be made?)

* updated folders, upgrade, restore and install usage

* corrected directory references

* what if we cant use /path?

* fixed description

* Auto-update README

* minimized screenshot to be less than 512k

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com>
2024-01-17 14:09:30 +00:00

100 lines
3 KiB
Text

# path to the configuration directory (must be writable by motionEye)
conf_path __INSTALL_DIR__
# path to the directory where pid files go (must be writable by motionEye)
run_path __INSTALL_DIR__/run
# path to the directory where log files go (must be writable by motionEye)
log_path __INSTALL_DIR__/logs
# default output path for media files (must be writable by motionEye)
media_path __DATA_DIR__/media
# the log level (use quiet, error, warning, info or debug)
log_level info
# the IP address to listen on
# (0.0.0.0 for all interfaces, 127.0.0.1 for localhost)
listen 127.0.0.1
# the TCP port to listen on
port __PORT__
# path to the motion binary to use (automatically detected if commented)
#motion_binary /usr/bin/motion
# whether motion HTTP control interface listens on
# localhost or on all interfaces
motion_control_localhost true
# the TCP port that motion HTTP control interface listens on
motion_control_port 7999
# interval in seconds at which motionEye checks if motion is running
motion_check_interval 10
# whether to restart the motion daemon when an error occurs while communicating with it
motion_restart_on_errors false
# interval in seconds at which motionEye checks the SMB mounts
mount_check_interval 300
# interval in seconds at which the janitor is called
# to remove old pictures and movies
cleanup_interval 43200
# timeout in seconds to wait for response from a remote motionEye server
remote_request_timeout 10
# timeout in seconds to wait for mjpg data from the motion daemon
mjpg_client_timeout 10
# timeout in seconds after which an idle mjpg client is removed
# (set to 0 to disable)
mjpg_client_idle_timeout 10
# enable SMB shares (requires motionEye to run as root and cifs-utils installed)
smb_shares false
# the directory where the SMB mount points will be created
smb_mount_root /media
# path to the wpa_supplicant.conf file
# (enable this to configure wifi settings from the UI)
#wpa_supplicant_conf /etc/wpa_supplicant.conf
# path to the localtime file
# (enable this to configure the system time zone from the UI)
#local_time_file /etc/localtime
# enables shutdown and rebooting after changing system settings
# (such as wifi settings or time zone)
enable_reboot false
# timeout in seconds to use when talking to the SMTP server
smtp_timeout 60
# timeout in seconds to wait for media files list
list_media_timeout 120
# timeout in seconds to wait for media files list, when sending emails
list_media_timeout_email 10
# timeout in seconds to wait for media files list, when sending a telegram
list_media_timeout_telegram 10
# timeout in seconds to wait for zip file creation
zip_timeout 500
# timeout in seconds to wait for timelapse creation
timelapse_timeout 500
# enable adding and removing cameras from UI
add_remove_cameras true
# enables HTTP basic authentication scheme (in addition to, not instead of the signature mechanism)
http_basic_auth false
# overrides the hostname (useful if motionEye runs behind a reverse proxy)
#server_name motionEye
# @admin_password