Post Reply 
Bash script to start Minimserver with a specified Profile
23-04-2026, 15:23
Post: #1
Bash script to start Minimserver with a specified Profile
Hi Simon,
Would you have a linux (bash) script which allows to start minimserver with a specified Profile. I have a full install instance on a Raspberry Pi (DietPi OS).
Thanks
Find all posts by this user
Quote this message in a reply
23-04-2026, 21:58
Post: #2
RE: Bash script to start Minimserver with a specified Profile
You would need to start MinimServer with the previously active profile, then select your desired new profile and restart MinimServer to apply the new profile.

Here is an example bash script that does this. It assumes MinimServer is iinstalled in the ~/minimserver directory and you want to start MinimServer with the profile myprofile.

#!/bin/bash
cd ~/minimserver
./bin/startd
sleep 2
/bin/echo -e 'profile select myprofile\nrestart\nprofile' | ./bin/mscript -i
Find all posts by this user
Quote this message in a reply
24-04-2026, 06:39
Post: #3
RE: Bash script to start Minimserver with a specified Profile
Works perfectly. Thanks for that.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)