Skip to content

Commit bb65ff2

Browse files
committed
module/service: Add nice name on java daemon
Signed-off-by: Rem01Gaming <Rem01_Gaming@proton.me>
1 parent 46e8122 commit bb65ff2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

module/service.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,5 @@ if [ -f "$ENABLE_PPM" ]; then
7878
fi
7979

8080
# Start Encore Daemon
81-
export CLASSPATH="$MODDIR/system_monitor.dex"
82-
nohup app_process "$MODDIR" SystemMonitor >/dev/null 2>&1 &
81+
nohup app_process -Djava.class.path="$MODDIR/system_monitor.dex" --nice-name=EncoreSysMon / SystemMonitor >/dev/null 2>&1 &
8382
encored daemon

0 commit comments

Comments
 (0)