Everthing working. Commits after this use the new script

This commit is contained in:
Arinerron 2019-03-30 16:02:16 -07:00
parent e5de2cad8c
commit 5cf082b884
No known key found for this signature in database
GPG Key ID: 99383627861C62F0

View File

@ -9,4 +9,7 @@ export ONIONR_HOME=${ONIONR_HOME:=/etc/onionr}
export LOG_DIR=${LOG_DIR:=/var/log/onionr} export LOG_DIR=${LOG_DIR:=/var/log/onionr}
cd "$OUTPUT_DIR/onionr" cd "$OUTPUT_DIR/onionr"
exec su onionr -s /bin/sh -c "python3.7 onionr.py ""$@"""
command="python3.7 onionr.py '$@'"
echo $command
exec su onionr -s /bin/sh -c "$command"