From a1850e0f49b522cd57491e1bad737d3ef81e7b8f Mon Sep 17 00:00:00 2001 From: SolAZDev Date: Mon, 15 Jan 2024 21:05:48 -0400 Subject: [PATCH] venv, ip fix and ram fix --- conf/motioneye.conf | 2 +- conf/systemd.service | 4 ++-- manifest.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/motioneye.conf b/conf/motioneye.conf index 3e66855..96fc428 100644 --- a/conf/motioneye.conf +++ b/conf/motioneye.conf @@ -15,7 +15,7 @@ log_level info # the IP address to listen on # (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 port __PORT__ diff --git a/conf/systemd.service b/conf/systemd.service index 745669f..12df2e8 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,8 +6,8 @@ After=network.target Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/bin/meyectl startserver -c /var/www/__APP__/motioneye.conf +WorkingDirectory=__INSTALL_DIR__/venv +ExecStart=__INSTALL_DIR__/venv/bin/meyectl startserver -c /var/www/__APP__/motioneye.conf StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit Restart=on-abort diff --git a/manifest.toml b/manifest.toml index 2e05838..2e36f26 100644 --- a/manifest.toml +++ b/manifest.toml @@ -23,7 +23,7 @@ multi_instance = true ldap = false sso = true disk = "500M" -ram.build = "5120M" +ram.build = "512M" ram.runtime = "1024M" [install]