![]() |
|
Bash script to start Minimserver with a specified Profile - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Bash script to start Minimserver with a specified Profile (/showthread.php?tid=7784) |
Bash script to start Minimserver with a specified Profile - ditusade - 23-04-2026 15:23 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 RE: Bash script to start Minimserver with a specified Profile - simoncn - 23-04-2026 21:58 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 RE: Bash script to start Minimserver with a specified Profile - ditusade - 24-04-2026 06:39 Works perfectly. Thanks for that. |