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]