privatebin sudo (#11)
Reviewed-on: #11 Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
parent
1d488c2d40
commit
f7f42b6b39
|
@ -3,7 +3,7 @@
|
|||
source /var/local/container-scripts/zabbix-scripts.cfg
|
||||
|
||||
#statistics
|
||||
BIN_TOTAL=$(find ${BIN_PATH} -mindepth 2 -name *.php | wc -l)
|
||||
BIN_TOTAL=$(sudo -u ${BIN_USER} find ${BIN_PATH} -mindepth 2 -name '*.php' | wc -l)
|
||||
BIN_SIZE=$(du -bs ${BIN_PATH} | cut -f1)
|
||||
|
||||
echo "bin_total ${BIN_TOTAL}" > /tmp/bin_stats
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# PrivateBin
|
||||
BIN_PATH="/srv/privatebin"
|
||||
BIN_USER="www-data"
|
||||
|
||||
#Framadate
|
||||
POLLDB_HOST="localhost"
|
||||
|
@ -38,6 +39,7 @@ GITDB_PORT="5432"
|
|||
GITDB_NAME="gitea"
|
||||
GITDB_USER="gitea"
|
||||
GITDB_PASSWD="changeme"
|
||||
|
||||
# Prosody
|
||||
PROSODY_USER="prosody"
|
||||
PROSODY_PATH="/var/lib/prosody/xmppfiles%2edisroot%2eorg/http_file_share/"
|
||||
|
|
Loading…
Reference in New Issue