Added the export command before running.

This commit is contained in:
Ahmed Khatib 2024-05-08 01:22:52 +05:30
parent cbe750c76c
commit 8b2f24affd

View file

@ -214,9 +214,11 @@ or
java -jar /opt/Stirling-PDF/Stirling-PDF-*.jar java -jar /opt/Stirling-PDF/Stirling-PDF-*.jar
``` ```
Non-root users can run from the Stirling-PDF directory using the following commands: Non-root users can run from the Stirling-PDF directory using the following commands (can use any temp directory you want):
```bash ```bash
mkdir temp
export DBUS_SESSION_BUS_ADDRESS="unix:path=./temp"
./gradlew bootRun ./gradlew bootRun
or or
java -jar ./Stirling-PDF-*.jar java -jar ./Stirling-PDF-*.jar