1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-18 21:09:41 +02:00
This commit is contained in:
dbarzin 2023-02-13 17:19:00 +01:00
parent e3cdee01ec
commit 690e27736b
3 changed files with 24 additions and 3 deletions

View file

@ -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"
#---------------------

21
pandora-box.curses Normal file
View file

@ -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

View file

@ -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"