mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-18 21:09:41 +02:00
bugfix
This commit is contained in:
parent
e3cdee01ec
commit
690e27736b
3 changed files with 24 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/bash
|
#!/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.
|
# Copyright (c) 2022 Didier Barzin.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
@ -38,7 +38,7 @@ apt install -y libssl-dev
|
||||||
#---------------------
|
#---------------------
|
||||||
# Peotry
|
# 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"
|
su - $SUDO_USER -c "poetry --version"
|
||||||
|
|
||||||
#---------------------
|
#---------------------
|
||||||
|
|
21
pandora-box.curses
Normal file
21
pandora-box.curses
Normal 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
|
||||||
|
|
|
@ -7,7 +7,7 @@ User=_USER_
|
||||||
Group=_USER_
|
Group=_USER_
|
||||||
Type=forking
|
Type=forking
|
||||||
WorkingDirectory=/home/_USER_/pandora
|
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"
|
Environment="PANDORA_HOME=/home/_USER_/pandora"
|
||||||
ExecStart=/bin/bash -c "exec poetry run start"
|
ExecStart=/bin/bash -c "exec poetry run start"
|
||||||
ExecStop=/bin/bash -c "exec poetry run stop"
|
ExecStop=/bin/bash -c "exec poetry run stop"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue