diff --git a/install.sh b/install.sh index fa26a3b..5149279 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash # -# This file is part of the Pandora-box distribution (https://github.com/dbarzin/pandora-box). +# This file is part of the Pandora-box distribution # Copyright (c) 2022 Didier Barzin. # # This program is free software: you can redistribute it and/or modify @@ -38,7 +38,7 @@ apt install -y libssl-dev #--------------------- # Peotry #--------------------- -su - $SUDO_USER -c "curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -" +su - $SUDO_USER -c "curl -sSL https://install.python-poetry.org | python3 -" su - $SUDO_USER -c "poetry --version" #--------------------- diff --git a/pandora-box.curses b/pandora-box.curses new file mode 100644 index 0000000..483c53f --- /dev/null +++ b/pandora-box.curses @@ -0,0 +1,21 @@ +[DEFAULT] +; Curses mode (full text) +CURSES = False + +; Set USB_AUTO_MOUNT to true is if the OS automaticaly mount USB keys +USB_AUTO_MOUNT = False + +; Set PANDORA_ROOT_URL to the URL of the Pandora server +; the default value is "http://127.0.0.1:6100" +PANDORA_ROOT_URL = http://127.0.0.1:6100 + +; Set FAKE_SCAN to true to fake the scan process (used during developement only) +FAKE_SCAN = False + +; Set to true to copy infected files to the quarantine folder +; in the USB scanning station +QUARANTINE = True + +; Set quarantine folder +QUARANTINE_FOLDER = /var/quarantine + diff --git a/pandora.service b/pandora.service index 3398077..1ab9810 100644 --- a/pandora.service +++ b/pandora.service @@ -7,7 +7,7 @@ User=_USER_ Group=_USER_ Type=forking WorkingDirectory=/home/_USER_/pandora -Environment="PATH=/home/_USER_/.poetry/bin:/usr/bin" +Environment="PATH=/home/_USER_/.local/bin:/usr/bin" Environment="PANDORA_HOME=/home/_USER_/pandora" ExecStart=/bin/bash -c "exec poetry run start" ExecStop=/bin/bash -c "exec poetry run stop"