Process tool for manually installed software

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
mammal
Posts: 3
Joined: Thu Nov 03, 2016 7:18 pm

Process tool for manually installed software

Post by mammal »

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
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Process tool for manually installed software

Post by Fourdee »

mammal wrote:
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:

Code: Select all

ps aux
After that, i'll get them added to DietPi-Process_Tool for v137.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
mammal
Posts: 3
Joined: Thu Nov 03, 2016 7:18 pm

Re: Process tool for manually installed software

Post by mammal »

This is what I found:

Code: Select all

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:

Code: Select all

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:

Code: Select all

./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
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Process tool for manually installed software

Post by Fourdee »

Ok done. Available in process tool with v137 update:
Attachments
Untitled.jpg
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
mammal
Posts: 3
Joined: Thu Nov 03, 2016 7:18 pm

Re: Process tool for manually installed software

Post by mammal »

Thank you, much appreciated.
MonZon
Posts: 45
Joined: Fri Mar 31, 2017 6:07 pm

Re: Process tool for manually installed software

Post by MonZon »

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!
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Process tool for manually installed software

Post by Fourdee »

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

Currently you'd need to add this into the source code /DietPi/dietpi/dietpi-process_tool:
https://github.com/Fourdee/DietPi/blob/ ... #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
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
MonZon
Posts: 45
Joined: Fri Mar 31, 2017 6:07 pm

Re: Process tool for manually installed software

Post by MonZon »

Cool! Thanks a lot!
User avatar
MichaIng
Site Admin
Posts: 2262
Joined: Sat Nov 18, 2017 6:21 pm

Re: Process tool for manually installed software

Post by MichaIng »

MonZon wrote:Cool! Thanks a lot!
Pull request is up, check it out, if you like it that way: https://github.com/Fourdee/DietPi/pull/1616
Post Reply