Process tool for manually installed software

Hey guys,

first of all let me thank you for this amazing piece of software.

I am using my Raspberry Pi 3 as network audio streamer, utilising both Shairport Sync (installed from menu) and Roon (installed manually). Both work fine, yet when I go to process-tool section to set up nice and schedule policy, I only see Shairport Sync and its Avahi Deamon.

Is there any way how to include Roon’s RAAT server and other Bridge subprocesses?

Many thanks

Yep, we just need to know the process name.

Please run both programs and paste results of following:

ps aux

After that, i’ll get them added to DietPi-Process_Tool for v137.

This is what I found:

root  444  /bin/sh /opt/RoonBridge/start.sh
root  455  RoonBridge --debug --gc=sgen --server RoonBridge.exe
root  672  RoonBridgeHelper --debug --gc=sgen --server RoonBridgeHelper.exe
root  680  /opt/RoonBridge/Bridge/processreaper 672
root  688  RAATServer --debug --gc=sgen --server RAATServer.exe

Have you considered adding Roon software to the list of installable software? It’s easy as executing the following:

curl -O http://download.roonlabs.com/builds/roonbridge-installer-linuxarmv7hf.sh
chmod +x roonbridge-installer-linuxarmv7hf.sh
./roonbridge-installer-linuxarmv7hf.sh

And in order to uninstall:

./roonbridge-installer-linuxarmv7hf.sh uninstall

Actually, I heard about DietPi from Roon community forums and later found the same at HeadFi, so I guess there is market for it. More info at https://kb.roonlabs.com/LinuxInstall

Thanks guys

Ok done. Available in process tool with v137 update:

Thank you, much appreciated.

Hi! Is there a way to add another program myself?
I’m using netatalk, and I need to limit it a bit.

ps aux |grep afpd
root 633 0.4 0.4 19916 4828 ? SNl 18:31 0:03 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n MyCloud

Thanks!

Hi,

Currently you’d need to add this into the source code /DietPi/dietpi/dietpi-process_tool:
https://github.com/Fourdee/DietPi/blob/master/dietpi/dietpi-process_tool#L197-L266

However, updating DietPi will overwrite any changes to source code (all scripts are reset).

I’ll add an ability to include custom entries, read from a file:
https://github.com/Fourdee/DietPi/issues/944

Cool! Thanks a lot!

Pull request is up, check it out, if you like it that way: https://github.com/Fourdee/DietPi/pull/1616