mirror of
https://github.com/YunoHost-Apps/motioneye_ynh.git
synced 2024-09-03 19:46:09 +02:00
venv, ip fix and ram fix
This commit is contained in:
parent
942a859b15
commit
a1850e0f49
3 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ log_level info
|
||||||
|
|
||||||
# the IP address to listen on
|
# the IP address to listen on
|
||||||
# (0.0.0.0 for all interfaces, 127.0.0.1 for localhost)
|
# (0.0.0.0 for all interfaces, 127.0.0.1 for localhost)
|
||||||
listen 0.0.0.0
|
listen 127.0.0.1
|
||||||
|
|
||||||
# the TCP port to listen on
|
# the TCP port to listen on
|
||||||
port __PORT__
|
port __PORT__
|
||||||
|
|
|
@ -6,8 +6,8 @@ After=network.target
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/venv
|
||||||
ExecStart=__INSTALL_DIR__/bin/meyectl startserver -c /var/www/__APP__/motioneye.conf
|
ExecStart=__INSTALL_DIR__/venv/bin/meyectl startserver -c /var/www/__APP__/motioneye.conf
|
||||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
Restart=on-abort
|
Restart=on-abort
|
||||||
|
|
|
@ -23,7 +23,7 @@ multi_instance = true
|
||||||
ldap = false
|
ldap = false
|
||||||
sso = true
|
sso = true
|
||||||
disk = "500M"
|
disk = "500M"
|
||||||
ram.build = "5120M"
|
ram.build = "512M"
|
||||||
ram.runtime = "1024M"
|
ram.runtime = "1024M"
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
|
|
Loading…
Add table
Reference in a new issue